Part Number Hot Search : 
TDB7711 FCP22N60 M12LZ AD9767 ADUM3201 MC409 MMSZ5 570M1
Product Description
Full Text Search
 

To Download STV8287 Datasheet File

  If you can't view the Datasheet, Please click here to try to view without PDF Reader .  
 
 


  Datasheet File OCR Text:
  preliminary data february 2005 1/149 ? rev. 3 key features full-automatic multi-standard demodulation b / g / i / l / m / n / d / k standards mono am and fm fm 2-carrier (german and korean zweiton) and nicam multi-channel capability 3 i2s digital inputs, s/pdif (in/out) 5.1 analog outputs dolby ? pro logic ? dolby ? pro logic ii ? sound processing st royalty-free processing: st widesurround, st omnisurround, st dynamic bass, srs ? wow ?, srs ? trusurround xt ? which is virtual dolby ? surround and virtual dolby ? digital compliant independent volume / balance for loudspeakers and headphone loudspeakers: smart volume control (svc), 5-band equalizer and loudness headphone: smart volume control (svc), bass- treble, loudness and srs ? tr u b a s s ? analog audio matrix 4 stereo inputs 3 stereo outputs thru mode audio delay for audio video synchronization embedded stereo delay up to 120 ms for lip-sync function (up to 180 ms for tuner input) independent delay on headphone and loudspeaker channels the stv82x7 family, based on audio digital signal processors (dsp), performs high quality and advanced dedicated digital audio processing.these devices provide all of the necessary resources for automatic detection and demodulation of analog audio transmissions for european and asian terrestrial tv broadcasts. virtual or true, multi-channel capabilities and easy digital links make them ideal for digital audio low cost consumer applications. starting from enhanced stereo up to independent control of 5 loudspeakers and a subwoofer (5.1 channels), the stv82x7 family offers standard and advanced features plus sound enhancements, spatial and virtual effects to enhance television viewer comfort and entertainment. typical applications analog and digital tv with virtual surround sound analog and digital tv with multi-channel surround sound dvd and hdd recorders ?palm size? portable tv ? s t v 8 2 x 7 ? 2004 srs labs, inc. all rights reserved, srs and the srs logo are registered trademarks of srs labs, inc. ?dolby?, ?pro logic?, and the double-d symbol are trademarks of dolby laboratories. stv82x7 digital audio decoder/processor for a2 and nicam television/video recorders
stv82x7 2/149 block diagram ls_c ls_sub output analog audio matrix input analog audio matrix audio a/d i2c interface clock generator power supply management stereo audio dac headphone volume, balance, loudness, smart volume control, loudspeakers volume, equalizer, balance, st widesurround, st dynamic bass, loudness,smart volume control, digital audio matrix pre-scaler i2s interface control logic agc digital fm/am nicam fm 2-carrier irq i2s s/pdif detection mono input sc1_in_l ls_l headphone hp_lss_l scl sda sif in / out bass management, beeper srs ? wow ? or trusurround xt ? digital audio processing bass/treble, srs ? trubass ? demodulation stereo audio dac stereo audio dac a/d 0.9 v rms 0.9 v rms 2 v rms 2 v rms 2 v rms scart digital audio processing sound if mono_in sc1_in_r sc2_in_l sc2_in_r sc3_in_l sc3_in_r sc4_in_l sc4_in_r inputs clk_sel xtalin xtalout sc1_out_l scart sc1_out_r sc2_out_l sc2_out_r sc3_out_l sc3_out_r outputs hp_lss_r headphone / surround ls_r loudspeakers dolby ? pro logic ? clocks data i2c dolby ? pro logic ii ?, st omnisurround,
3/149 stv82x7 table of contents chapter 1 general description . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .6 1.1 stv82x7 overview ........................................................................................................... ... 8 1.1.1 core features ............................................................................................................ ................................8 1.1.2 software information ..................................................................................................... ............................9 1.1.3 device input modes .. ........... .......... .......... ........... .......... .......... .......... ........... .......... ........ ............................9 1.1.4 electrical features ...................................................................................................... .............................10 1.2 typical applications ....................................................................................................... .... 10 1.3 pin descriptions and application diagrams ....................................................................... 14 chapter 2 system clock . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .2 0 chapter 3 digital demodulator . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .21 3.1 sound if signal ............................................................................................................ ...... 21 3.2 demodulation ............................................................................................................... ...... 22 chapter 4 dedicated digital signal processor (dsp) . . . . . . . . . . . . . . . . . . . . . . . . . . . . .24 4.1 back-end processing ........................................................................................................ .24 4.2 audio processing ........................................................................................................... .... 25 4.3 st widesurround ............................................................................................................ ... 28 4.4 st omnisurround ............................................................................................................ .. 28 4.5 dolby pro logic ii decoder ................................................................................................ 2 8 4.6 bass management ............................................................................................................ .28 4.6.1 bass management configurati on 0 .......... ................ .......... .......... ........... .......... ........ ........ ....... ...............29 4.6.2 bass management configurati on 1 .......... ................ .......... .......... ........... .......... ........ ........ ....... ...............30 4.6.3 bass management configurati on 2 .......... ................ .......... .......... ........... .......... ........ ........ ....... ...............31 4.6.4 bass management configurati on 3 .......... ................ .......... .......... ........... .......... ........ ........ ....... ...............32 4.6.5 bass management configurati on 4 .......... ................ .......... .......... ........... .......... ........ ........ ....... ...............33 4.7 srs wow and trusurround xt ...................................................................................... 33 4.7.1 srs trusurround .......... .......... .......... .......... ........... .......... .......... .......... ......... ........ ........ ..........................33 4.7.2 srs wow .................................................................................................................. .............................34 4.8 smart volume control (svc) ............................................................................................. 34 4.9 st dynamic bass ........................................................................................................... ... 35 4.10 5-band audio equalizer .................................................................................................... .35 4.11 bass/treble control ....................................................................................................... .... 35 4.12 automatic loudness control .............................................................................................. 36 4.13 volume/balance control .................................................................................................... 36 4.14 soft mute control ......................................................................................................... ...... 37
stv82x7 4/149 4.15 beeper .................................................................................................................... ............ 37 chapter 5 analog audio matrix (in / out) . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .39 chapter 6 i2s interface (in / out) . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .40 6.1 i2s inputs ................................................................................................................. ........... 40 6.2 i2s output ................................................................................................................. .......... 41 chapter 7 s/pdif input/output . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .42 chapter 8 power supply management . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .43 8.1 standby mode (loop-through mode) ................................................................................. 43 chapter 9 additional controls and flag . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .44 9.1 headphone detection ........................................................................................................ 44 9.2 irq generation ............................................................................................................. ..... 44 9.3 i2c bus expander ........................................................................................................... .... 44 chapter 10 stv82x7 reset . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .4 5 chapter 11 i2c interface . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .46 11.1 i2c address and protocol .................................................................................................. .46 11.2 start-up and configuration change procedure .................................................................. 47 chapter 12 register list . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .48 12.1 i2c register map .......................................................................................................... ...... 49 12.2 stv82x7 general control registers .................................................................................. 55 12.3 clocking 1 ................................................................................................................ .......... 56 12.4 demodulator ............................................................................................................... ........ 59 12.5 demodulator channel 1 ..................................................................................................... 62 12.6 demodulator channel 2 ..................................................................................................... 66 12.7 nicam registers ........................................................................................................... .... 71 12.8 stereo mode ............................................................................................................... ........ 73 12.9 analog control ............................................................................................................ ....... 74 12.10 clocking 2 ............................................................................................................... ........... 76 12.11 dsp control .............................................................................................................. ......... 77
5/149 stv82x7 12.12 automatic standard recognition ........................................................................................ 81 12.13 audio preprocessing and selection registers ................................................................... 85 12.14 matrixing ................................................................................................................ ............. 93 12.15 audio processing ......................................................................................................... ...... 98 12.16 5-band equalizer / bass-treble for loudspeakers .......................................................... 112 12.17 headphone bass-treble .................................................................................................. 11 3 12.18 volume ................................................................................................................... .......... 116 12.19 beeper ................................................................................................................... ........... 126 12.20 mute ..................................................................................................................... ............ 127 12.21 s/pdif ................................................................................................................... ........... 128 12.22 headphone configuration ................................................................................................ 12 8 12.23 dac control .............................................................................................................. ....... 129 12.24 autostandard coefficients settings ................................................................................. 130 chapter 13 electrical characteristics . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .132 13.1 absolute maximum ratings ............................................................................................ 132 13.2 thermal data ............................................................................................................. ..... 132 13.3 power supply data ......................................................................................................... . 132 13.4 crystal oscillator ....................................................................................................... ...... 133 13.5 analog sound if signal .................................................................................................. 1 33 13.6 sif to i2s output path characteristics ............................................................................. 134 13.7 scart to scart analog path characteristics .............................................................. 134 13.8 scart and mono in to i2s path characteristics .......................................................... 135 13.9 i2s to ls/hp/sub/c path characteristics ....................................................................... 135 13.10 i2s to scart path characteristics .................................................................................. 136 13.11 mute characteristics ..................................................................................................... . 136 13.12 digital i/os characteristics ............................................................................................. .. 136 13.13 i2c bus characteristics ................................................................................................ .. 137 13.14 i2s bus interface ........................................................................................................ ...... 138 chapter 14 input/output groups . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .140 chapter 15 package mechanical data . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .145 chapter 16 revision history . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .146
general description stv82x7 6/149 1 general description the stv82x7 is a multistandard tv sound dem odulator and audio processor which integrates srs ? wow ? , srs ? trusurround xt ? , dolby ? pro logic ? , dolby ? pro logic ii ? , virtual dolby ? surround (vds) and virtual dolby ? digital (vdd) capability. st advanced algorithms such as st omnisurround , st widesurround , st dynamic bass are also available in this audio sound processor. st omnisurround is a certified dolby ? algorithm for the virtual dolby ? digital (vdd) and the virtual dolby ? surround (vds). when using vdd or vds, either a dolby ? digital or a pro logic ? (or pro logic ii ? ) decoder is mandatory respectively. this chip performs automatic multistandard analog tv stereo sound identification and demodulation (no specific i2c programming is required). it offers various audio processing functions such as equalization, loudness, beeper, volume, balance, and surround effects. it provides a cost-effective solution for analog and digital tv designs. the stv82x7 is perfectly suited to current and future digital tv platforms, based on audio/video digital chips ( std2000 , (dtv100 platform ) and the future worldwide idtv one chip ) which include an internal digital decoder ( mpeg , dolby ? digital ...). in the case where a dolby ? digital decoder is embedded in the audio/video digital chip, virtual dolby ? digital could be obtained. for the ctv100/120 platform, the device is offered as an alternative solution to the first-generation chassis that uses the stv82x6.
7/149 stv82x7 general description table 1: stv82x7 version list s t v 8 2 0 7 s t v 8 2 1 7 s t v 8 2 2 7 s t v 8 2 3 7 stv8247 stv8257 stv8267 stv8277 STV8287 s t v 8 2 4 7 d s t v 8 2 4 7 d s x s t v 8 2 5 7 s t v 8 2 5 7 d s t v 8 2 5 7 d s x s t v 8 2 6 7 d s t v 8 2 6 7 d s x s t v 8 2 7 7 s t v 8 2 7 7 d s t v 8 2 7 7 d s x s t v 8 2 8 7 d s t v 8 2 8 7 d s x demodulation am/fm - mono, fm 2-carrier xxxxxxxxxxxxxxxx nicam x xxxxxxxxxxxxx multi-channel capability 3 x i2s in or 1 i2s out, s/pdif (pass-thru) xxx xxxxx 5.1 analog out for loudspeakers xxxxxxx virtual dolby ? surround xx xxxx xxxx virtual dolby ? digital capability 1 1. virtual dolby digital capability is obtained with the use of external dolby digital decoder (for example std05x0). xxx xxxxx dolby ? pro logic ? xx xx dolby ? pro logic ii ? xx audio processing srs ? wow ? xx srs ? trusurround xt ? xxxxx st voice, st dynamic bass, st widesurround xxxxxxxxxxxxxxxx st omnisurround 2 2. when using vdd or vds with st omnisurround or srs trusurround xt tm , either a dolby ? digital or a pro logic ? (or pro logic ii ? ) decoder is mandatory respectively. xxxxxxxxxxxx figure 1: package ordering information ? t q f p 8 0 stv82x7 (tray) stv82x7/t (tape & reel) order code: for example: stv8257dsx/t will be delivered in tape & reel conditioning
general description stv82x7 8/149 1.1 stv82x7 overview 1.1.1 core features single audio source processing: ? if source and/or analog stereo input (scart) ? one digital source with a maximum of 6 synchronous channels (5.1 is obtained across three i2s) sif input signal with automatic gain control (agc) digital demodulator with automatic standard detection and demodulation for am, fm mono, fm 2 carriers (german or korean fm 2-carrier) and nicam audio processor working at 32 khz, 44.1 khz or 48 khz with specific features: ? for loudspeakers (l, r, l s , r s , subw, c): dolby ? pro logic ii ? decoder with bass management srs ? wow ? or trusurround xt ? including virtual dolby ? surround and virtual dolby ? digital st widesurround st omnisurround st dynamic bass 5-band equalizer or bass-treble loudness smart volume control volume/balance/soft-mute beeper video processing delay compensation ? for headphone: srs ? tr u b a s s ? smart volume control bass-treble loudness volume/balance/soft-mute beeper video processing delay compensation shared outputs for headphone and loudspeakers (surround channels); analog matrix with: ? five external inputs: four scart inputs (2 v rms capable) one analog mono input (0.5 v rms ) ? one internal input from a digital matrix via a dac ? three external outputs (2 v rms capable) ? one internal output for the digital matrix (using an internal adc) digital matrix with: ? three input modes (demodulator/scart, scart only and i2s) ? three stereo outputs (loudspeakers, headphone and scart) high-end audio dac s/pdif output for connection with an external amplifier/decoder internal multiplexer for the s/pdif output (to share the internal s/pdif output and the s/pdif output generated by the external decoder of the digital broadcast)
9/149 stv82x7 general description specific stand-by mode (loop-through) control by i2c bus (two i2c addresses) system pll and clock generation using either a single quartz oscillator or a differential clock input 1.1.2 software information the different software combinations are listed in ta bl e 2 . note: in addition to the above sound processing, it is always possible to add st voice and also st dynamic bass algorithms. note: the srs ? trusurround ? and st omnisurround are approved by dolby as virtual dolby surround (vds) and virtual dolby digital (vdd). the srs ? trusurround xt ? system is composed of: srs ? trusurround ? srs ? wow ? the srs ? wow ? system also includes: srs ? dialog clarity ? srs ? trubass ? 1.1.3 device input modes demodulator and scart mode (with output f s = 32 khz) scart only mode (with output f s = 48 khz) i2s mode (with output f s = 32, 44.1 or 48 khz) table 2: input/output software configurations input (number of channels) output (number of channels) 2 (+1) 4 (+1) 5 (+1) 1 st widesurround or srs ? wow ? 2 (l and r) st widesurround or srs ? wow ? 2 (l t and r t ) st widesurround or srs ? trusurround xt ? or st omnisurround or dolby ? pro logic ? + srs ? trusurround xt ? or dolby ? pro logic ? + st omnisurround dolby ? pro logic ? 4 (+1) srs ? trusurround xt ? or st omnisurround or downmix no processing 5 (+1) srs ? trusurround xt ? or st omnisurround or downmix downmix no processing
general description stv82x7 10/149 ? external audio input interface using 3 x i2s (for decoded streams such as dolby ? digital and/or standard stereo streams) 1.1.4 electrical features multi power supply: 1.8 v, 3.3 v and 8 v. power consumption: lower than 1 w in functional mode (full features) 200 mw in loop-through mode corresponding to switch-off of all digital blocks 1.2 typical applications the stv82x7 is specified to enable flexible, analog and digital tv chassis design (refer to figure 2 , figure 3 , figure 4 and figure 5 ). the main considerations are: all necessary connections between devices can be provided through the tv set, pseudo stand-by mode used to copy to vcr or the dvd sources when the tv set is off, possible application compatibility with stv82x6 (tqfp80 package) tv design, pin-to-pin compatibility with stv82x8 (tqfp80 package) tv design. the stv82x7 is used to process a single audio source (analog or digital). however, it is possible to process two audio sources simultaneously using an stv82x7 interconnection (two chips can be easily connected). in the case of a single audio source, it is possible to hear and record in the same time: the same audio stream can be simultaneously output on headphone, loudspeakers, s/pdif and the scart connectors. note: headphone and loudspeakers can be used simultaneously for dual-language purposes or for different sound settings (e.g. volume). in this case, certain restrictions occur (see section 4.2: audio processing ). for more connections, the scart-to-scart path can be used. the use of these full analog paths implies that the sound is not digitally processed.
11/149 stv82x7 general description figure 2: stv8237 typical ap plication (enhanced stereo) figure 3: stv8247 typical application (analog virtual sound) or tu n e r stv8237 multistandard demodulation sound processing - volume, balance, 5-band equalizer - st widesurround left right - fm 2-carrier and nicam - srs ? wow ? r subw l or tu n e r stv8247 multistandard demodulation sound processing - volume, balance, 5-band equalizer left right - fm 2-carrier and nicam - srs ? trusurround xt ? r subw l - virtual dolby ? surround 1 - st omnisurround 1. when using vds with st omnisurround or srs trusurround xt tm , a pro logic ? decoder is mandatory.
general description stv82x7 12/149 figure 4: stv8257 typical application (digital: virtual sound) figure 5: stv8277 typical application (dig ital tv: multi-channel and virtual sound) or tuner stv8257 multistandard demodulation audio processing - volume, balance, 5-band equalizer - srs ? trusurround xt ? - virtual dolby ? surround 1 multi-channel digital decoder left right i2s - fm 2-carrier and nicam s/pdif pass-thru - virtual dolby ? digital 2 r subw l (dolby ? digital) - st omnisurround 1. when using vds with st omnisurround or srs trusurround xt tm , a pro logic ? decoder is mandatory. 2. when using vdd with st omnisurround or srs trusurround xt tm , a dolby ? digital decoder is mandatory. or tuner stv8277 multistandard demodulation audio processing - volume, balance, 5-band equalizer left right s/pdif pass-thru i2s - fm 2-carrier and nicam - dolby ? pro logic ii ? - 5.1 analog outputs r subw l c ls rs - srs ? trusurround xt ? - virtual dolby ? surround 1 - virtual dolby ? digital 2 multi-channel digital decoder (dolby ? digital) 1. when using vds with st omnisurround or srs trusurround xt tm , a pro logic ? decoder is mandatory. 2. when using vdd with st omnisurround or srs trusurround xt tm , a dolby ? digital decoder is mandatory.
13/149 stv82x7 general description figure 6: stv8217 typical application (digital recorder) or tuner stv8217 multistandard demodulation left right - fm 2-carrier and nicam mpeg codec i2s
general description stv82x7 14/149 1.3 pin descriptions a nd application diagrams ap = analog power dp = digital power i= input o = output od = open-drain b = bi-directional a = analog table 3: tqfp80 pin desc ription (sheet 1 of 3) pin no. stv82x7 pin name type (stv82x7) function for stv82x7 (function for stv82x6 in italic characters) stv82x6 pin name 1 sc1_out_l a scart1 audio output left ao1l 2 sc1_out_r a scart1 audio output right ao1r 3 vcc_h ap 8v power for audio i/o & esd not connected 4 gnd_h ap high current ground for audio outputs connected to ground 5 sc3_out_l a scart3 audio output left not connected 6 sc3_out_r a scart3 audio output right not connected 7 vcc33_sc ap 3.3v power for audio buffers & dac / adc vddc 8 gnd33_sc ap ground for audio buffers & dac / adc gndc 9 sc1_in_l a scart1 audio input left ai1l 10 sc1_in_r a scart1 audio input right ai1r 11 vrefa a audio bias voltage decoupling 1.55v (switched v ref decoupling pin for audio converters (vmcp)) vmc1 12 gnd_sa ap ground for dacs connected to ground 13 vbg a bandgap voltage reference decoupling 1.2v (v ref decoupling pin for audio converters (vmc)) vmc2 14 sc2_in_l a scart2 audio input left ai2l 15 sc2_in_r a scart2 audio input right ai2r 16 vcc33_ls ap 3.3v power for audio dacs (3.3v power supply for audio buffers and scart) vdda 17 gnd33_ls ap ground for audio dacs (ground for audio buffers and scart) gndah 18 sc2_out_l a scart2 audio output left ao2l 19 sc2_out_r a scart2 audio output right ao2r 20 vcc_niso ap polarization of the niso (connected to 3.3v) (8v / 5v power supply for scart & audio buffers) vddh 21 vss33_conv ap ground for dac 1.8 to 3.3v converters connected to ground 22 vdd33_conv ap 3.3v power for dac 1.8 to 3.3v converters (voltage reference for audio buffers) vrefa
15/149 stv82x7 general description 23 sc3_in_l a scart3 audio input left ai3l 24 sc3_in_r a scart3 audio input right ai3r 25 scl_flt a scart filtering left not connected 26 scr_flt a scart filtering right (bandgap voltage source decoupling) bgap 27 ls_c a center output not connected 28 ls_l a left loudspeaker output lsl 29 ls_r a right loudspeaker output lsr 30 ls_sub a subwoofer output sw 31 hp_lss_l a left headphone output or left surround output hpl 32 hp_lss_r a right headphone output or right surround output hpr 33 vss18_conv dp ground for digital part of the dac/adc (substrate analog/digital shield) gndsa 34 vdd18_conv dp 1.8v power for digital part of the dac/adc not connected 35 hp_det i headphone detection hpd 36 adr_sel i hardware address selection for i2c bus adr 37 vss18 dp ground for digital part connected to ground 38 vdd18 dp 1.8v power for digital part not connected 39 scl od i2c clock input scl 40 sda od i2c data i/o sda 41 vss18 dp ground for digital part connected to ground 42 vdd18 dp 1.8v power for digital part (5v power regulator control) reg 43 rst i main reset input reset 44 s/pdif_in i serial audio data input (system clock output) sysck 45 s/pdif_out o serial audio data output (i2s master clock output) mck 46 vdd33_io1 dp 3.3v power for digital part vdd1 47 vss33_io1 dp ground for digital part gnd1 48 ck_tst_ctrl d to be grounded not connected 49 vss18 dp ground for digital part gndsp 50 vdd18 dp 1.8v power for digital part not connected 51 clk_sel i clock input format selection not connected 52 xtalin_clkxtp i crystal oscillator input or differential input positive (crystal oscillator input) xti table 3: tqfp80 pin desc ription (sheet 2 of 3) pin no. stv82x7 pin name type (stv82x7) function for stv82x7 (function for stv82x6 in italic characters) stv82x6 pin name
general description stv82x7 16/149 53 xtalout_clkxtm o crystal oscillator output or differential input negative (crystal oscillator output) xto 54 vcc18_clk1 ap 1.8v power for clock pll analog & crystal oscillator 1/2 (3.3v power supply for analog pll clock) vddp 55 gnd18_clk1 ap ground for clock pll analog & crystal oscillator 1/2 gndp 56 gnd18_clk2 ap ground for clock pll digital 1/2 gnd2 57 vcc18_clk2 dp 1.8v power for clock pll digital 1/2 (3.3v power supply for digital core, dsps & io cells) vdd2 58 vss33_io2 dp ground for digital io pins 60 to 69 connected to ground 59 vdd33_io2 dp 3.3v power for digital io pins 60 to 69 not connected 60 i2s_pcm_clk i/o i2s slave clock input/output channel 1, 2 & 3 not connected 61 i2s_sclk i/o i2s clock input/output channel 1, 2 & 3 (i2s bus data output) sdo 62 i2s_lr_clk i/o i2s word select input/output channel 1,2 & 3 (stereo detection output / i2s bus data input) st/sdi 63 i2s_data0 i/o i2s data input/output stereo channel 1 (i2s bus word select output) ws 64 i2s_data1 i i2s data input stereo channel 2 (i2s bus clock output) sck 65 i2s_data2 i i2s data input stereo channel 3 (bus expander output 1) bus1 66 vdd18 dp 1.8v power for digital core & i/o cells pin not connected 67 vss18 dp ground for digital core & i/o cells pin connected to ground 68 bus_exp o bus expander function (bus expander output 2) bus0 69 irq o interrupt request to microprocessor irq 70 gnd_psub ap ground substrate connection connected to ground 71 vdd18_adc dp vdd 1.8v for adc (digital part) not connected 72 vss18_adc dp ground to complement 1.8v vdd for adc connected to ground 73 sif_p a sound if input (positive) sif 74 sif_n a sound if input (negative) (adc v top decoupling pin) vtop 75 gndpw_if ap polarization for the if block (voltage reference for agc decoupling pin) vrefif 76 vcc18_if ap 1.8v power for if agc & adc vddif 77 gnd18_if ap ground for if agc & adc gndif 78 mono_in a mono input (for am mono) monoin 79 sc4_in_l a scart4 audio input left not connected 80 sc4_in_r a scart4 audio input right not connected table 3: tqfp80 pin desc ription (sheet 3 of 3) pin no. stv82x7 pin name type (stv82x7) function for stv82x7 (function for stv82x6 in italic characters) stv82x6 pin name
17/149 stv82x7 general description figure 7: stv82x7 application diagram tqfp80 crystal address select 1 3 reset stv82x7 220 220 220 330pf 330pf 330pf 330pf 220 220 330pf 330pf 220 1.8v +3.3v +1.8v +3.3v +8v +1.8v +1.8v +3.3v 1.8v 1.8v +3.3v l6 10h + c7 1f + c6 1f + c23 47f c75 l10 10h + c37 1f r1 470k + c3 1f l4 10h c10 100nf + c47 10f c64 33nf c19 100nf + c4 1f xt1 27mhz c34 22nf r4 c70 l2 10h c35 100pf r5 + c55 10f + c61 1f l16 100h + c59 47f + c39 10f r9 + c41 10f r6 ic1 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77 78 79 80 sc1_out_l sc1_out_r vcc_h gnd_h sc3_out_l sc3_out_r vcc33_sc gnd33_sc sc1_in_l sc1_in_r vrefa gnd_sa vbg sc2_in_l sc2_in_r vcc33_ls gnd33_ls sc2_out_l sc2_out_r vcc_niso vss33_conv vdd33_conv sc3_in_l sc3_in_r scl_flt scr_flt ls_c ls_l ls_r ls_sub hp_lss_l hl_lss_r vss18_conv vdd18_conv hp_det adr_sel vss18 vdd18 scl sda vss18 vdd18 rst_n spdif_in spdif_out vdd33_io vss33_io ck_tst_ctrl vss18 vdd18 clk_sel xtalin/clkxtp xtalout/clkxtm vcc18_clk1 gnd18_clk1 gnd18_clk2 vcc18_clk2 vss33_io vdd33_io i2s_pcm_clk i2s_sclk i2s_lr_clk i2s_data0 i2s_data1 i2s_data2 vdd18 vss18 bus_exp irq gnd_psub vdd18_adc vss18_adc sif_p sif_n gnd_pwif vcc18_if gnd18_if mono_in sc4_in_l sc4_in_r l17 100h + c9 330f c32 220nf + c60 1f + c49 10f l18 100h c33 100nf c42 100nf c27 100nf l12 10h c62 33nf + c53 1f c44 100nf + c17 10f c13 100nf r8 l13 100h c57 100nf l15 100h + c36 1f c26 100nf + c45 1f c22 27pf + c5 1f + c40 10f sl1 1 2 3 c14 100nf c16 470nf c66 33nf c50 100nf + c8 1f r7 c15 100nf + c51 10f c63 33nf c72 c21 27pf + c38 1f c18 100nf c30 100nf r3 560 l1 10h + c46 1f + c48 10f c67 33nf l14 100h c52 100nf + c54 1f + c56 10f + c43 47f c65 33nf l11 10h c69 33nf c74 c73 c58 100nf c71 c68 33nf c12 100nf c25 100nf c29 100nf sc3 in right sc1 in right sc2 out right hp right/ls surround right i2s sclk scl i2s lr clk ls right i2s data 2 subwoofer sc2 in left sc1 out left irq i2s pcm clk sc3 in left sif sc2 in right i2s data 0 sc2 out left i2s data 1 ls left sc1 out right bus expander sda sc1 in left hp left/ls surround left sc4 in right sc4 in left mono in sc3 out left sc3 out right ls center spdif in spdif out headphone detection
general description stv82x7 18/149 figure 8: stv82x6/stv8 2x7 compatible applicat ion electrical diagram 220 stv82x6 / stv82x7 220 220 220 330pf 330pf crystal 330pf 330pf 220 address select 1 220 3 330pf tqfp80 reset 330pf sl3 0 ohm 10h between 1-2 l3 between 1-2 not connected not connected between 2-3 10h between 2-3 10h l1 270k 100h * l13,l14 not connected with stv82x6 10h l4 l15,l16 10h not connected l17,l18 l5,l6 strap l8 not connected part strap 10h not connected strap not connected r2 l2 sl2 r11 not connected * * * * * * note : comp onents with * are only mandatory in case of dolby certification 100h * 100h * r10 330 not connected r12 82 not connected r13 not connected 0 ohm r14 not connected r15 not connected 0 ohm r16 not connected 0 ohm 0 ohm not connected 0 ohm r17 r18 r19 0 ohm not connected not connected 0 ohm c9 not connected 330 f c10,c13 not connected 100 nf not connected c15,c18 100 nf c21,c22 22 pf 27 pf c23 not connected 47 f c27,c29 c30 c31 not connected not connected 100 nf 100 nf 100 nf not connected c41 10 f not connected c42 c43 not connected not connected 100 nf 10 f c63 100 nf 33 nf c64,c65 not connected 33 nf c66,c67 not connected 33 nf not connected 33 nf c68,c69 c70,c71 not connected 330 pf 330 pf not connected c72,c73 c74,c75 not connected 330 pf c76,c77 10 f not connected c78 10 f not connected with stv82x7 c59 10 f 47 f c79 10 f 47 f c3 not connected 1 f +3.3v +1.8v +8v +3.3v 1.8v +1.8v +3.3v +1.8v +3.3v +8v +8v +8v +1.8v +1.8v +3.3v l6 10h r15 0 + c7 1f + c76 10f + c78 10f + c6 1f + c23 47f c75 l5 10h + c37 1f + c3 1f r1 470k l7 10h sl2 1 2 3 c73 + c47 10f c10 100nf c64 33nf c19 100nf r13 0 + c4 1f c71 xt1 27mhz c34 22nf + c79 47f r4 c70 r19 0 l8 10h l4 10h r18 0 c35 100pf r5 + c55 10f + c61 1f + c59 47f l16 100h + c39 10f c69 33nf r9 r10 330 l2 10h r2 270k + c43 10f ic1 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77 78 79 80 sc1_out_l sc1_out_r vcc_h gnd_h sc3_out_l sc3_out_r vcc33_sc gnd33_sc sc1_in_l sc1_in_r vrefa gnd_sa vbg sc2_in_l sc2_in_r vcc33_ls gnd33_ls sc2_out_l sc2_out_r vcc_niso vss33_conv vdd33_conv sc3_in_l sc3_in_r scl_flt scr_flt ls_c ls_l ls_r ls_sub hp_lss_l hl_lss_r vss18_conv vdd18_conv hp_det adr_sel vss18 vdd18 scl sda vss18 vdd18 rst_n spdif_in spdif_out vdd33_io vss33_io ck_tst_ctrl vss18 vdd18 clk_sel xta l in/ cl k xtp xtalout/clkxtm vcc18_clk1 gnd18_clk1 gnd18_clk2 vcc18_clk2 vss33_io vdd33_io i2s_pcm_clk i2s_sclk i2s_lr_clk i2s_data0 i2s_data1 i2s_data2 vdd18 vss18 bus_exp irq gnd_psub vdd18_adc vss18_adc sif_p sif_n gnd_pwif vcc18_if gnd18_if mono_in sc4_in_l sc4_in_r r6 c74 c58 100nf + c60 1f + c9 330f c32 220nf l17 100h c63 + c41 10f + c49 10f c14 100nf l18 100h c33 100nf c42 100nf c27 100nf l3 10h c62 33nf + c53 1f + c17 10f c44 100nf c13 100nf r8 l13 100h c57 100nf l15 100h + c36 1f c26 100nf + c45 1f l11 10h c22 + c40 10f + c5 1f sl1 1 2 3 c12 100nf c66 33nf c68 33nf c16 470nf c50 100nf c29 100nf r17 0 + c8 1f c25 100nf c15 100nf r7 + c51 10f c72 c21 + c38 1f c18 100nf r16 0 + c77 10f r12 82 c30 100nf c31 100nf l1 10h r3 560 c65 33nf sl3 1 2 3 + c46 1f + c48 10f r11 0 r14 0 c67 33nf l14 100h c52 100nf + c54 1f + c56 10f sc2 in right scl spdif in sc2 in left sc1 out right sc4 in right sif ls left i2s sclk / sdo subwoofer ls center hp left/ls surround left sc3 in left sc3 out right i2s data 1 / sck hp right/ls surround right i2s data 2 / bus1 sc3 in right sc1 in left sc3 out left i2s pcm clk sc2 out left sc2 out right ls right headphone detection sda mono in irq i2s data 0 / ws i2s lr clk / sdi sc1 in right spdif out bus expander / bus0 sc4 in left sc1 out left
19/149 stv82x7 general description figure 9: stv82x7/stv82 x8 compatible application electrical diagram (tqfp80) scl headphone detection hp left/ls surround left ls right subwoofer ls left sif ls center spdif in spdif out irq bus expander mono in i2s data 2 i2s data 1 i2s data 0 i2s lr clk i2s sclk i2s pcm clk sc1 out right sc1 out left sc1 in right sc4 in right sc1 in left sc4 in left sc2 in right sc2 in left sc3 in right sc3 in left sc2 out right sc3 out left sc3 out right sc2 out left hp right/ls surround right sda +3.3v +1.8v +1.8v +3.3v +1.8v 1.8v +8v +3.3v +3.3v 1.8v 1.8v reset stv82x7 or stv82x8 * * * * * * note : components with * are only mandatory in case of dolby certification tqfp80 crystal 220 220 220 330pf 330pf 330pf 330pf 220 220 330pf 330pf address select 1 220 3 table 1 : sl1 confi gu ration stv82x7 : stv82x8 : between 1 and 2 ( pin 20 connected to g ro u nd ) between 2 and 3 ( pin 20 connected to 3 . 3v ) l11 10h l11 10h c73 c73 l6 10h l6 10h + c37 1f + c37 1f c32 220nf c32 220nf c67 33nf c67 33nf c68 33nf c68 33nf r4 r4 l16 100h l16 100h c57 100nf c57 100nf c66 33nf c66 33nf + c5 1f + c5 1f + c9 330f + c9 330f + c7 1f + c7 1f r1 470k r1 470k + c8 1f + c8 1f xt1 27mhz xt1 27mhz l12 10h l12 10h c71 c71 c64 33nf c64 33nf c70 c70 r5 r5 c15 100nf c15 100nf sc1_out_l 1 sc1_out_r 2 vcc_h 3 gnd_h 4 sc3_out_l 5 sc3_out_r 6 vcc33_sc 7 gnd33_sc 8 sc1_in_l 9 sc1_in_r 10 vrefa 11 gnd_sa 12 vbg 13 sc2_in_l 14 sc2_in_r 15 vcc33_ls 16 gnd33_ls 17 sc2_out_l 18 sc2_out_r 19 vcc_niso 20 vss33_conv 21 vdd33_conv 22 sc3_in_l 23 sc3_in_r 24 scl_flt 25 scr_flt 26 ls_c 27 ls_l 28 ls_r 29 ls_sub 30 hp_lss_l 31 hl_lss_r 32 vss18_conv 33 vdd18_conv 34 hp_det 35 adr_sel 36 vss18 37 vdd18 38 scl 39 sda 40 vss18 41 vdd18 42 rst_n 43 spdif_in 44 spdif_out 45 vdd33_io 46 vss33_io 47 ck_tst_ctrl 48 vss18 49 vdd18 50 clk_sel 51 xtalin/clkxtp 52 xtalout/clkxtm 53 vcc18_clk1 54 gnd18_clk1 55 gnd18_clk2 56 vcc18_clk2 57 vss33_io 58 vdd33_io 59 i2s_pcm_clk 60 i2s_sclk 61 i2s_lr_clk 62 i2s_data0 63 i2s_data1 64 i2s_data2 65 vdd18 66 vss18 67 bus_exp 68 irq 69 gnd_psub 70 vdd18_adc 71 vss18_adc 72 sif_p 73 sif_n 74 gnd_pwif 75 vcc18_if 76 gnd18_if 77 mono_in 78 sc4_in_l 79 sc4_in_r 80 ic1 ic1 r6 r6 c33 100nf c33 100nf c34 22nf c34 22nf l10 10h l10 10h l17 100h l17 100h c14 100nf c14 100nf c22 27pf c22 27pf + c61 1f + c61 1f c25 100nf c25 100nf c50 100nf c50 100nf l14 100h l14 100h + c60 1f + c60 1f c58 100nf c58 100nf c18 100nf c18 100nf + c48 10f + c48 10f l1 10h l1 10h + c56 10f + c56 10f c30 100nf c30 100nf 1 2 3 sl1 sl1 + c23 47f + c23 47f + c39 10f + c39 10f c62 33nf c62 33nf c69 33nf c69 33nf + c17 10f + c17 10f c63 33nf c63 33nf r9 r9 c26 100nf c26 100nf + c43 47f + c43 47f + c55 10f + c55 10f l4 10h l4 10h r3 560 r3 560 r7 r7 c12 100nf c12 100nf c35 100pf c35 100pf c44 100nf c44 100nf c29 100nf c29 100nf + c45 1f + c45 1f c52 100nf c52 100nf + c41 10f + c41 10f + c51 10f + c51 10f r12 10k r12 10k + c3 1f + c3 1f + c54 1f + c54 1f c75 c75 r8 r8 + c49 10f + c49 10f l15 100h l15 100h 1 2 3 sl1 ( see table 1) sl1 ( see table 1) + c36 1f + c36 1f l13 100h l13 100h c21 27pf c21 27pf c74 c74 r11 10k r11 10k + c47 10f + c47 10f c42 100nf c42 100nf + c53 1f + c53 1f + c4 1f + c4 1f c19 100nf c19 100nf + c38 1f + c38 1f c65 33nf c65 33nf + c59 47f + c59 47f + c6 1f + c6 1f c13 100nf c13 100nf l18 100h l18 100h l2 10h l2 10h + c46 1f + c46 1f c10 100nf c10 100nf + c40 10f + c40 10f c72 c72 c27 100nf c27 100nf c16 470nf c16 470nf
system clock stv82x7 20/149 2 system clock the system clock integrates 2 independent frequency synthesizers. the first frequency synthesizer can be used in one of two modes: in mode 1, it is used by the demodulator, and the frequecy is 49.152 mhz. in mode 2, it is used by the i2s input and is synchronous with the input frequency (f s = 32, 44.1 or 48 khz) and the frequency is 49.152 mhz (for f s = 32 or 48 khz) or 45.1584 mhz (for f s = 44.1 khz). the second frequency synthesizer is used by the dsp core and can be adjusted between 100 and 150 mhz depending on the application (around 106 mhz at reset value). the default values are designed for a standard 27-mhz reference frequency provided by a stable single crystal or an external differential clock signal (for example, from the stv35x0) depending on the clk_sel pin configuration (clk_sel = 1 means a single crystal, 0 means an external differential clock). the 27-mhz value is the recommended frequency for minimizing potential rf interference in the application. the sinusoidal clock frequency, and any harmonic products, remain outside the tv picture and sound ifs (pif/sif) and band-i rf. note: a change in the reference frequency is compat ible with other default i2c programming values, including those of the built-in automatic standard recognition system.
21/149 stv82x7 digital demodulator 3 digital demodulator the digital demodulator (see figure 10 ) is composed of two channels. the first channel demodulates an fm or an am signal. the second channel demodulates fm 2-carrier or nicam signals (stereo demodulation). all channel parameters are programmed automatically by the built-in automatic standard recognition system (autostandard) in order to find the correct sound standard. channels can also be programmed manually via the i2c interface for very specific standards not included among the known standards. 3.1 sound if signal the analog sound carrier if is connected to the stv82x7 via the sif pin. before analog-to-digital conversion (adc), an automatic gain control (agc) is performed to adjust the incoming if signal to the full scale of the adc. a preliminary video rejection is recommended to optimize conversion and demodulation performances. the agc system provides a gain value allowing for a wide range of sif input levels and is activated for all standards, except l/l?. in this particular case, the sound carrier is am-modulated and an automatic level adjustment would only damage the transmitted audio signal. a preset i2c parameter is provided to define the gain of the agc used in manual mode (registers agc_ctrl and agc_gain ). note: for optimum am demodulation performance, it is recommended to use the mono input. figure 10: demodulator block diagram mixer mixer dco2 + channel filter fir1 channel filter fir2 am demodulator fm demodulator fm demodulator dqpsk demodulator autostd agc control sif nicam decoder dco1+ zweiton a/d nicam l nicam r am/fm mono am fml fm stereo autostd_ctrl (8ah) autostd_standard_detect (8bh) autostd_stereo_detect (8ch) autostd_status (8eh) demod_stat(0dh) zwt_stat (42h) nicam_stat(3fh) caroffset1 (22h) caroffset2 (3ah) channel 1 = mono left channel 2 = stereo/mono right agc_ctrl (0eh) agc_gain (0fh) (to sound preprocessing) (to sound preprocessing) (to sound preprocessing) decoder agc amp autostd_timers (8dh)
digital demodulator stv82x7 22/149 3.2 demodulation the demodulation system operates by default in auto matic mode. in this mode, the stv82x7 is able to identify and demodulate any tv sound standard including nicam and a2 systems (see ta bl e 4 ) without any external control via the i2c interface. it consists of the two demodulation channels (channel 1 = mono left and channel 2 = mono right/stereo) to simultaneously process two sound carriers in order to handle all transmission modes (stereo and up to three mono languages). the built-in automatic standard recognition system (autostandard) automatically programs the appropriate bits in the i2c registers which are forced to read-only mode for users (see section 12.1 ). the programming is optimized for each standard to be identified and demodulated. each mono and stereo standard can be removed (or added) from the list of standards to be recognized by programming registers autostd_standard_detect and autostd_stereo_detect , respectively. the identified standard is displayed in register autostd_status and any change to standard is flagged to the host system via pin irq. this flag must be reset by re-programming the msbs of register autostd_ctrl while checking the detected standard status by reading registers autostd_status , nicam_stat and zwt_stat . moreover, the detection of stereo mode during demodulation is also flagged in register autostd_status . important : l/l? and d/k standards cannot be automatically processed because the same frequency is used for the mono carrier. an exclusive l/dk selection must programmed in register autostd_ctrl . this may be externally controlled by detecting the rf modulation sign, which is negative for all tv standards except l/l?. to recover out-of standard fm deviations or the sound carrier frequency offset, additional i2c controls are provided without interfering with the automatic standard recognition system (autostandard). dk-nicam overmodulation recovery : four different fm deviation ranges can be selected (via register autostd_ctrl ) for the dk standard while the autostandard system remains active. the maximum fm deviation is 500 khz in dk mono mode and 350 khz in dk nicam mode (limited by overlapping fm and nicam spectrum values). the demodulated signal peak level (proportional to the fm deviation) is detected by the peak detector and written to registers peak_det_l and peak_det_r . this value is used to implement automatic overmodulation detection via an external i2c control. important : only the selection of the 50 khz fm deviation standard is compatible with the other dk- a2* standards (dk1, dk2 or dk3). these standards must be removed from the list of standards (registers autostd_standard_detect and autostd_stereo_detect ) when programming larger fm deviations reserved only for dk-nicam standards. table 4: recognized standards system sound type type name carrier 1 (mhz) carrier 2 (mhz) fm deviation de- emphasis roll -off (%) pilot frequency (khz) nom. max. over b/g fm mono 5.5 fm/nicam 5.5 5.850 27 50 80 j17 40 fm 2-carrier a2 5.5 5.742 27 50 80 50 s 54.6875 d/k fm mono 6.5 fm/nicam 6.5 5.850 27 50 80 j17 40 d/k1 fm 2-carrier a2* 6.5 6.258 50 s 54.6875
23/149 stv82x7 digital demodulator for chinese tv transmissions (dk-nicam) which are subject to overmodulation, different fm deviations are proposed for sound demodulation. sound carrier frequency offset recovery: both mono and stereo if carrier frequencies can be adjusted independently (registers caroffset1 and caroffset2 ) within a large range (up to 120 khz for standard mono fm deviations) while the automatic standard recognition system remains active. the frequency offset estimation is written in registers dc_removal_l and dc_removal_r (mono left / channel 1 and mono right / channel 2, respectively) and can be used to implement the automatic frequency control (afc) via an external i2c control. manual mode: if required, the automatic standard recognition system system can be disabled (manual mode) and the user can control all registers including those only controlled by the automatic standard recognition system function when active. manual mode is selected in register autostd_standard_detect (bit ldk_sck, i_sck, bg_sck and mn_sck set to 0). d/k2 fm 2-carrier a2* 6.5 6.742 50 s 54.6875 d/k3 fm 2-carrier a2* 6.5 5.742 50 s 54.6875 i fm mono 6.0 fm/nicam 6.0 6.552 27 50 80 j17 100 l am/nicam 6.5 5.850 j17 40 m/n fm mono 4.5 15 27 50 75 s fm 2-carrier a2+ 4.5 4.724 15 27 50 75 s 55.069 table 4: recognized standards (continued) system sound type type name carrier 1 (mhz) carrier 2 (mhz) fm deviation de- emphasis roll -off (%) pilot frequency (khz) nom. max. over
dedicated digital signal processor (dsp) stv82x7 24/149 4 dedicated digital signal processor (dsp) a dedicated digital signal processor (dsp) takes charge of all audio processing features and the low frequency signal processing features of the demo dulator. the internal 24-bit architecture will ensure a high quality signal treatment and an excellent dynamic. 4.1 back-end processing the ?back-end? processing corresponds to the low frequency signal processing (32 khz or higher frequencies) of the demodulator and other inputs (i2s, adc). figure 11 shows a flowchart of the back-end processing tasks. however, the figure shows that the processing is only a single source processing flow (no processing is possible with ?demod + scart? and i2s inputs simultaneously) and that the selection of a headphone output restricts the loudspeakers configuration to 2+1 instead of 5+1. figure 11: back-end audio processing dc digital audio matrix fm channel1 fm channel2 nicam l de-emphasis prescale dematrix autostandard fm fm fm removal prescale i2s i2s in 1 i2s in 2 i2s in 3 dc prescale nicam removal dc prescale scart removal nicam r dematrix nicam scart l scart r src x2/x4 ?i2s? input mode ?demod + scart? or ?scart only? input modes downmix ls 2 hp 2 scart 2 ls 2 to 6 hp 2 scart 2 stereo peak detector: 9d, bit 7 = 0 stereo peak detector: 9d, bit 7 = 0 (l and r) (l and r) (l and r) (l,r,c,lfe,ls,rs) (l and r) (l and r) de-emphasis nicam stereo peak detector: 9d, bit 7 = 1 stereo peak detector: 9d, bit 7 = 1
25/149 stv82x7 dedicated digital signal processor (dsp) the main features depend on the path: fm channel ? dc removal ?prescaling ? de-emphasis (50 or 75 us) ? stereo dematrix nicam channel ? dc removal ?prescaling ? de-emphasis (j17) ? dematrix input scart channel ? dc removal ?prescaling input i2s channel ? i2s prescaling digital audio matrix ? audio channel multiplexer between the different sources (if, i2s, scart) towards all outputs (s/pdif, ls, hp or scart). autostandard management ? device configuration depending on the standard to be detected ? freeze the device when a standard is detected ? once a standard detected, check that there is no change in the detection status ? set the correct action depending on any change in the detection status (mono backup or mute setup and new standard detection) scart ? downmixing: l t / r t or l 0 / r 0 (see ac-3 specification) ? soft mute 4.2 audio processing the following software is provided for main loudspeakers (l, r, c, l s , r s , subw): downmix dolby ? pro logic ii ? decoder (l t , r t l, r, c, ls, rs, subw) with bass management st widesurround, st omnisurround, srs ? wow ? or srs ? trusurround xt ? (certified virtual dolby ? surround and virtual dolby ? digital) st dynamic bass smart volume control (svc) 5-band equalizer or bass-treble loudness volume with independent channels (smooth volume control) master volume control mute/soft-mute
dedicated digital signal processor (dsp) stv82x7 26/149 balance beeper pink noise generator (used to position the loudspeakers) programmable delay for each loudspeaker adjustable delay for ?lip sync? up to 120 ms (to compensate audio/video latency) in scart only mode and up to 180 ms in demodulator and scart mode the following software is provided for the headphone or auxiliary output: downmix srs ? trubass ? smart volume control (svc) bass/treble loudness independent volume for each channel (smooth volume control) soft mute balance beeper adjustable delay for ?lip sync? up to 120 ms (to compensate audio/video latency) in scart only mode and up to 180 ms in demodulator and scart mode the following software is provided for scart or s/pdif outputs: downmix soft mute
27/149 stv82x7 dedicated digital signal processor (dsp) figure 12: audio processing for loudspeakers, headphone, scart and s/pdif outputs s/pdif output scart output headphone output ls output center output subwoofer output surround output loud- bass / loud- bass/ tr e b l e treble or 5 bands equalizer volume volume volume s s beeper 1to2/2to2 2/0 svc digital soft mute digital soft mute digital soft mute digital soft mute digital soft mute balance volume balance volume balance and 3/2 svc output select l r lfe c ls rs l hp r hp bass mgmt. volume digital soft mute balance digital soft mute s/pdif select srs r scart l scart delay delay st wide surround dolby srs pro logic decoder trusurround adjustable adjustable s/pdif input xt pro logic ii or or st omnisurnd ness ness st dynamic bass trubass srs tr u b a s s
dedicated digital signal processor (dsp) stv82x7 28/149 4.3 st widesurround stv82x7 offers three preset st widesurround sound effects on the loudspeakers path: music, a concert hall effect movie, for films on tv simulated stereo, which generates a pseudo-stereo effect from mono source ?st widesurround sound? is an extension of the conventional stereo concept which improves the spatial characteristics of the sound. this could be done simply by adding more speakers and coding more channels into the source signal as is done in the cinema, but this approach is too costly for normal home use. the st widesurround system expl oits a method of phase shifting to achieve a similar result using only two speakers. it restores spatiality by adding artificial phase differences. the surround/pseudo-stereo mode is automatically selected by the automatic standard recognition system (autostandard) depending on the detected stereo or mono source. by default, ?movie? is selected for surround mode. this value may be changed to ?music? by the stsrnd_mode bit in the stsrnd_control register. additional user controls are provided to better adapt the spatial effect to the source. the st widesurround gain ( stsrnd_level ) and st widesurround frequency ( stsrnd_freq ) registers can be used to enhance music predominancy in music mode and theater effect and voice predominancy in movie mode. 4.4 st omnisurround stv82x7 offers a spatial virtualizer to output any multi-channel input in stereo on the loudspeakers path: ?st omnisurround? will recreate a multi-channel s patial sound environment using only the left and right front speakers. it can be adapted to any input configuration (omnisrnd_input_mode). st voice will allow you to enhance the voice content of your program to increase the intellegibility and the presence of the sound. 4.5 dolby pro logic ii decoder dolby ? pro logic ii ? is a matrix decoder that decodes th e five channels of surround sound that have been encoded onto the stereo sound tracks of dolby ? surround program material such as dvd movies and tv shows. it is even possible to decode standard stereo signals like music or non encoded movies. furthermore, it is an active process designed to enhance sound localization through the use of very high-separation decoding techniques. the dolby ? pro logic ii ? decoder is also able to emulate the former dolby ? pro logic ? decoder in a specific mode. 4.6 bass management this processing will generate the subwoofer signal and adjust all loudspeakers channels gain and bandwidth. speakers capable of reproducing the entire frequency range will be referred to as ?full range speakers?, then signals sent to full range speaker will be full bandwidth (no filtering).
29/149 stv82x7 dedicated digital signal processor (dsp) speakers that have limited bass handling capabilities will be referred to as ?satellite speakers?, then signals sent to satellite speaker will be high-pass filtered to remove bass information below 100 hz. in the stv82x7, five output configuration modes have been implemented according to ?dolby digital consumer decoder? specifications. they are described below. 4.6.1 bass management configuration 0 in some cases, the bass management filters are avai lable in the decoder itself, so there is no need to reproduce these filters. the output configuration shown in figure 13 offers this possibility. figure 13: bass management configuration 0 (wit h pro logic switch indicating its reset state) r l c ls rs lfe l r c ls rs subw + -15 db -5 db
dedicated digital signal processor (dsp) stv82x7 30/149 4.6.2 bass management configuration 1 configuration 1, shown in figure 14 , assumes that all five speakers are not full range and that all of the bass information will be redirected to and reproduced by a single subwoofer. this configuration is intended for use with 5 satellite speakers. to prevent signal overload, the five main channels are attenuated by 15 db, while the lfe channel is attenuated by 5db to maintain the proper mixing ratio. figure 14: bass management configuration 1 (wit h pro logic switch indicating its reset state) r l c ls rs lfe l r c ls rs subw + -5 db -15 db
31/149 stv82x7 dedicated digital signal processor (dsp) 4.6.3 bass management configuration 2 configuration 2 assumes that the left and right speakers, are full range while the center and surround speakers are smaller speakers. also, all bass data is redirected to the left and right speakers. this configuration include output level adjustment that allows 12 db attenuation for the 3 smaller speakers (c, ls, rs). when the level adjustment will be disabled the decoder boosts by 12 db the full range speakers (left, right). figure 15: bass management configurati on 2 (all switches indicate their reset state) subw c l r ls rs lfe l c r ls rs + + + + level adjustment off switch subwoofer on switch +12 db -1.5 db -12 db +12 db -12 db -12 db -1.5 db -12 db -12 db -15 db -5 db
dedicated digital signal processor (dsp) stv82x7 32/149 4.6.4 bass management configuration 3 the third configuration, shown in figure 16 , assumes that all speakers except the center are full range, then all bass information will be directed to and reproduced by the front left and front right and both surround speakers. in order to provide more flexibility to this configuration, a switch will offer an option which will produce a subwoofer channel by the lfe channel. when the subwoofer switch is off, the input channels will be attenuated by 8 db. configuration 3 is required in certain high-end products. figure 16: bass management configuration 3 (all switches indicate their reset state) c l r ls rs l c r ls rs subw lfe -4db -4.5db + + + + -8db -4db -8db -4db -8db -4db -8db -4db -8db -4db -8db + + +10db +8db +4db +8db +4db +8db +4db +8db +4db +8db +4db subwoofer on switch subwoofer on switch level adjustment off switch
33/149 stv82x7 dedicated digital signal processor (dsp) 4.6.5 bass management configuration 4 this configuration implements the simplified dolby configuration. the center, left surround and right surround channels are summed and then filtered by the lpf. the composite bass information is either summed back into the left and right channels or summed with the lfe channel and sent to the subwoofer output, see figure 17 . 4.7 srs wow and trusurround xt the srs ? trusurround xt ? is a processing system that can a ccept from 1 to 6 channels on input and that will generate a 2-channel output signal. this processing system includes the latest srs ? algorithms: srs ? wow ? srs ? trusurround ? (multi-channel signal virtualizer) 4.7.1 srs trusurround the srs ? trusurround ? is a processing that can accept from 2 to 5 channels on input and that will generate a 2-channel output signal. srs ? trusurround ? uses head-related transfer function (hrtf) -based frequency tailoring of (l/r) difference signals to extend the sound image out past the physical boundaries of the speaker placements to surround channel information. these rear channel hrtf curves have much greater peak to valley differences at center frequencies. these were chosen to cause rear channel difference signals to virtualize farther behind the listener and directed to a different virtual position as compared to front channel signals. information that is equal (l+r) in the rear surround channels figure 17: implementation of the bass manageme nt configuration 4 (sim plified configuration) c l r ls rs l c r ls rs + + + subw lfe -5db -10.5db + -4.5db subwoofer on switch
dedicated digital signal processor (dsp) stv82x7 34/149 is processed by an identical hrtf curve but mixed in at a much lower amount. this hrtf processing of equal (l/r) signals was again used to virtualize information to the rear of the listener. the srs ? trusurround ? is certified by dolby laboratories to be a virtual dolby ? digital and virtual dolby ? surround. 4.7.2 srs wow the srs ? wow ? is an a sound processing system including: srs ? 3d mono/stereo ? srs ? dialog clarity ? srs ? trubass ? 4.7.2.1 srs 3d mono/stereo this system is used to create a pseudo-stereo sig nal for mono inputs or a three-dimensional spatial signal for stereo inputs. 4.7.2.2 srs dialog clarity this system is used to enhance dialog perception. 4.7.2.3 srs trubass the srs ? tr u b a s s ? audio enhancement technology provides deep, rich bass to small speaker systems without the need for a subwoofer or additional extra physical components. for systems with a subwoofer, trubass ? complements and enhances bass performance. psycho-acoustically, when the human ear is presented with a low freque ncy sound signal that is missing the fundamental harmonic, it will fill in the fundamental frequency based on the higher harmonics that are present. by accentuating the second and higher frequency harmonics of the bass portion of a signal, trubass ? gives the perception of greatly improved bass response. srs ? trubass ? is implemented on loudspeakers path, headphone path or on both in parallel. 4.8 smart volume control (svc) the smart volume control regulates the audio signal level before audio processing. this regulation is necessary in order for the signal level to be independent from the source (terrestrial channels, i2s or scart), its modulation (am, fm or nicam) and annoying volume changes (advertising, etc.). the smart volume control works as an audio compressor/expander; i.e. when the input signal exceeds the threshold level, a very rapid attenuation (-2 db/ms) is applied to rescale the signal down to the threshold value. when the input signal is below the threshold level, the previous attenuation is reduced slowly in order to retrieve the original input level (0db gain). if the input signal is too low, an addition gain of 6 db can be provided. to personalize the action of the svc, five parameters are available: 1. threshold: maximum quasi-peak level that can be expected on output 2. peak measurement mode: select the channe l on which the peak measurement must be performed (left, right, center...) 3. release time: gain slope applied to the amplification phase 4. expander switch: to allow a +6db amplification of small signals in order to reduce the output dynamic range 5. make up gain: allows compensation of the signal amplitude limitation thanks to a 0 to 24 db adjustable gain.
35/149 stv82x7 dedicated digital signal processor (dsp) the svc is implemented on the loudspeakers path, headphone path or on both in parallel (independent settings). also, the svc can be applied in six-channel mode (l, r, l s , r s , c and subw). 4.9 st dynamic bass stv82x7 offers dynamic bass boost processing on the loudspeakers path: st dynamic bass is a bass boost process that can dramatically increase the bass content of any program without any output level saturation. 3 cutoff frequencies (bass_freq) can be chosen, 100hz, 150hz and 200hz to ad apt the effect to your loudspeakers. the am ount of bass (bass_level) can also be fine tuned in order to adapt the effect loudness. 4.10 5-band audio equalizer the loudspeakers audio spectrum is split into 5 frequency bands and the gain of each of band can be adjusted within a range from -12 db to +12 db in steps of 0.25 db. the audio equalizer may be used to pre-define frequency band enhancement features dedicated to various kinds of music or to attenuate frequency resonances of loudspeakers or the listening environment. the equalizer is enabled by the ls_eq_on bit in the ls_eq_bt_ctrl register. the gain value for band x is programmed in register eq_bandx_gain . the 5-band audio equalizer is exclusive with bass-treble control. bit ls_eq_bt_sw in register ls_eq_bt_ctrl is used to select either the 5-band audio equalizer or the bass-treble control for the loudspeakers path. depending on the ls equalizer or ls bass-treble value, the volume level can be clamped to the ls output to prevent any possible signal clipping from occuring using the anticlip_ls_vol_clamp bit in the volume_modes (d7h) register. 4.11 bass/treble control the gain of bass and treble frequency bands for headphone can be also tuned within a range from -12 db to +12 db in steps of 0.25 db. it may be used to pre-define frequency band enhancement features dedicated to various kinds of music. the headphone bass/treble feature is enabled by setting the hp_bt_on bit in the hp_bt_control register. the bass and treble gain values are adjusted in registers hp_bass_gain and hp_treble_gain , respectively. depending on the hp bass-treble value, the volume level can be clamped to the hp output to prevent any possible signal clipping from occuring using the anticlip_hp_vol_clamp bit in the volume_modes (d7h) register. figure 18: equalizer f 1 = 100 hz, f 2 = 316 hz, f 3 = 1 khz, f 4 = 3.16 khz and f 5 = 10 khz
dedicated digital signal processor (dsp) stv82x7 36/149 4.12 automatic loudness control as the human ear does not hear the audio frequency range the same way depending on the power of the audio source, the loudness control corrects this effect by sensing the volume level and then boosting bass and treble frequencies proportionally to middle frequencies at lower volume. while maintaining the amplitude of the 1 khz components at an approximately constant value, the gain values of lower and higher frequencies are automatically progressively amplified up to +18 db when the audio volume level decreases.the maximum treble amplification can be adjusted from 0 db (first order loudness) to +18 db (second order loudness) in steps of 0.125 db. as the volume is proportional to the external audio amplification power, the loudness amplification threshold is programmable in order to tune the absolute leve l. the loudspeakers loudness function is enabled by setting the ls_loud_on bit in register ls_loudness . the loudspeakers loudness threshold and maximum treble gain values are also programmed in this register. the headphone loudness function is enabled by setting the hp_loud_on bit in register hp_loudness . the headphone loudness threshold and maximum treble gain values are also programmed in this register. the loudness cut-off frequency is 100 hz. 4.13 volume/balance control the stv82x7 provides a volume/balance control for all output channels configuration (except for s/pdif) with different volume level per channel (l, r, c, l s , r s , subw, scart). its wide range (from +11.875 to -116 db, in a db linear scale with a 0.125 db step) largely covers typical home applications (approx. 60 db) while maintaining a good s/n ratio. an extra master volume control can apply an extra gain/attenuation on l, r, c, l s , r s and subw channels. the volume/balance control can operate in one of two different modes: in differential mode (default value), the volume control is a common volume value for both the left and right loudspeakers or headphone channels (see figure 19 ) and complimentary balance control is used (see figure 20 ). figure 19: volume control output gain +11.875 db -116 db mute 00h 3ffh i2c control
37/149 stv82x7 dedicated digital signal processor (dsp) in independent mode , the volume for the left and right channels for loudspeakers or headphone is controlled independently. 4.14 soft mute control the digital soft mute is applied smoothly (20 ms for 120 db range) to avoid any switch noise on output. it is available on all output channels pairs: s/pdif channel (left/right) scart channels (left/right) loudspeakers channels (left/right) center subwoofer headphone/surround channels (left/right) another soft mute (analog) is also available on each dac output. 4.15 beeper the beeper is used to generate a tone on the loudspeakers or/and headphone outputs. the beeper sound (square wave) is added to the audio signal which is attenuated by 20 db. the beep sound amplitude includes a smooth attack and decay to avoid any parasitic noise when starting and stopping. it can be used for various applications such as beep sounds for remote control, alarm clock or other features. the beeper operates in one of two modes: pulse mode (beep applications): a tone with a programmable short duration (0.1, 0.25, 0.5 and 1.0 s) is generated. afterwards, the beeper is automatically disabled and the output is switched back to the audio signal, see figure 21 . continuous mode (alarm application): a tone with a programmable long duration is generated. its start and stop controls must be programmed by i2c, see figure 22 . the beeper function is enabled by setting the beeper_on bit in register beeper_on . beeper parameters are controlled in register beeper_mode . the beeper tone level and frequency are programmed in register beeper_freq_vol . the level (or volume) ranges between 0 db and -93 db in steps of 3 db and the tone frequency ranges between 62.2 hz and 8 khz in steps of 1 octave. figure 20: differ ential balance output gain 100% mute 200h 1ffh i2c control (10 bits) 000h right c hanne l left channel
dedicated digital signal processor (dsp) stv82x7 38/149 a beep generator is shared only by the loudspeakers or headphone outputs. therefore, in the event of simultaneous beeps when in pulse mode, only the first beep will define the effective duration that will be the same for both outputs. figure 21: pulse mode figure 22: continuous mode 62.5 hz < f < 8 khz beep_on = 1 beep_on = 0 t predefined 0.1, 0.25, 0.5 and 1.0 s 62.5 hz < f < 8 khz beep_on = 1 beep_on = 0 t defined by i2c write
39/149 stv82x7 analog audio matrix (in / out) 5 analog audio matrix (in / out) the analog part of the audio matrix can be divided into two parts: the scart input matrix and the scart output matrix. the scart input matrix is an input for the digital matrix (after the adc) which select which source will be sent to the dsp. the scart output matrix selects the sound to output, which can be directly a scart input or the output of the dsp. a mute function is provided to switch off the outputs. a soft-mute function is provided to avoid all spuri ous sounds when switching from one position to another position. the scart 2 and 3 output matrices have the sa me functions as the scart 1 output matrix. the particularity of the matrix is to accept input signal of 2 v rms and to have the capability to output such level. in this case, the power supply must be 8 v. the mono audio input is able to accept signals with a 0.5 v rms amplitude. figure 23: scart input matrix figure 24: scart1/2/3 output matrix s1in s2in s3in mono_in 2 audio adc select digital matrix s4in s1in s2in s3in stereo dac 2 s1out select or mute s4in mono_in soft mute
i2s interface (in / out) stv82x7 40/149 6 i2s interface (in / out) the stv82x7 offers three input/output choices: one i2s input, three i2s inputs or one i2s output. 6.1 i2s inputs the stv82x7 can interface with a digital sound decoder. in this case, the digital data can be input at a speed of 0.384 mbytes/s (3.072 mhz for a 48 khz sampling frequency with 32 bits of data).in compliance with dolby ? specifications, only the sampling freq uency is subject to restrictions. all other requirements are extracted fr om other various specifications. the pcmclk (possible clock for upsampling) is prov ided by the master which is the digital sound decoder. a sample rate conversion (src) will be necessary in the second case (stv82x7 slave) in order to have a fixed frequency output from this block (either 32 khz, 44.1 khz or 48 khz). note: the src function is only available in single i2s input mode. the i2s interface is used in two ways depending on the package: 1. the interface with one i2s (i2s_data0) connection (only stereo or stereo-coded dolby ? pro logic ? ); 2. one interface with three i2s connections connected to the dsp to allow the processing of a multi-channel signal (max imum of 6 channels). table 5: i2s characteristics sampling frequency (khz) 8, 11.025, 12,16, 22.05, 24, 32, 44.1 and 48 data size 16, 18*, 20*, 24*, 32 pcmclk 512 x f s 1 2 1. means that the number is the number of effective bits but the transmission is with 32 bits. 2. 512 x f s is used by the dacs if 512 x f s is present. figure 25: i2s block diagram audio processing src x 2 src x 4 i2s_data0 i2s_data1 i2s_data2 f s input = 8 to 48 khz f s input = 32 to 48 khz f s input = 32 to 48 khz
41/149 stv82x7 i2s interface (in / out) both standard and non-standard modes are available, see figure 26 . 6.2 i2s output a digital stereo output (i2s compatible) is also available for routing the demodulated signal or a converted input audio signal to an external device. in this case the i2s_data0 signal and all clock signals are set as outputs by sett ing bit d6 in register reset to 1. the stv82x7 i2s drives the serial bus (sclk, lr_clk, i2s_data0) in master mode in 64.fs format with a sampling frequency (f s ) of 32 khz. the i2s_pcm_clk signal can be used as a master clock in 512.fs format if required for the slave interface. both standard and non-standard modes are available, see figure 26 . note: the input and output modes for i2s are exclusive. table 6: i2s frequency configuration i2s (max. number of channels) f s input (khz) f s output (khz) after src src use 1 (i2s_data0) 8 32.0 x 4 1 (i2s_data0) 16 32.0 x 2 3 32 32.0 no 1 (i2s_data0) 11.025 44.1 x 4 1 (i2s_data0) 22.05 44.1 x 2 3 44.1 44.1 no 1 (i2s_data0) 12 48.0 x 4 1 (i2s_data0) 24 48.0 x 2 3 48 48.0 no figure 26: i2s data format: lch = low, rch = high (i2s input or output mode) i2s_sclk 1 2 3 23 24 22 msb lsb 12 3 23 24 22 msb lsb 12 1 2 3 23 24 22 msb lsb 1 2 3 23 24 22 msb lsb 1 2 3 1/f s lch rch i2s_lr_clk (= 64f s ) i2s_datax (standard mode) i2s_datax (non-standard mode)
s/pdif input/output stv82x7 42/149 7 s/pdif input/output an s/pdif output is available for connection with an external decoder/amplifier. an internal multiplexer allows selection of either the internal signal or the external signal connected on the spdif input (for example, the signal provided by the external mpeg audio / dolby digital decoder). the outputted internal signal can be selected from: l/r c/sub hp or surround scart. a mute facility is also pr ovided on the spdif output.
43/149 stv82x7 power supply management 8 power supply management a mixed supply voltage environment requires the following voltages: 3.3v capable inputs/outputs for digital pins; 1.8v digital core; 8v capable inputs/outputs for analog audio interfaces (capability to output 2 v rms for scart requirements); 3.3v for stereo adc and dac (analog part); 1.8v for stereo adc and dac (digital part); 1.8v for if adc and agc. these voltages will be delivered by the application with an accuracy of 5% . for more information, refer to section 13.3: power supply data . other specific dc voltages or features are provided: voltage reference and biasing generation (agc, adcs, dacs), bandgap reference. 8.1 standby mode (loop-through mode) the stv82x7 provides a loop-through mode configuration that bypasses ic functions via a scart i/o pin (full analog path only). in this case , only a minimum power of 200 mw is required. in standby mode, the digital and analog power supplies are switched off, except for pins vcc_h, vcc33_ls, vcc33_sc, and vcc_niso which are used to maintain the scart path with the last configuration programmed by analog matrixing (register scart1_2_output_ctrl and scart3_output_ctrl ). when switching back to normal full power mode, all i2c registers are reset except for those used in standby mode to maintain the original configuration. in standby mode, the i2c bus does not operate. however, the bus can still be used by other ics since the i2c i/o pins (sda and scl) of the stv82x7 are forced into a high-impedance configuration.
additional controls and flag stv82x7 44/149 9 additional controls and flag this logic contains: the headphone detection, the irq generation, signal to be output to the mcu, the i2c bus expander output pin. 9.1 headphone detection for headphone, the hp_det input can be used to automatically mute the loudspeakers and subwoofer outputs when the hp_ls_mute bit is set in register headphone_config (active low). when a headphone is detected (the hp_det pin is set to 0) and the mute function is enabled. each change on the hp_det pin generates an irq request to the microprocessor on the irq pin. 9.2 irq generation four irqs are generated by the stv82x7. on each irq generation, the irq pin is set to 1. the pending irq status must be read at the i22s address 81h and the acknowledge is done by writing 0 to this register. the four availables irqs are: irq0 : the identified tv sound standard is displayed in register autostd_status . each change in the detected standard is flagged to the host system via hardware pin irq. the flag must be reset by re-programming the irq bit in register autostd_ctrl and then checking the detected standard status by reading registers autostd_status , nicam_stat , and zwt_stat . irq1 : this irq is enabled only in digital input mode. in case of i2s synchronisation loss, this irq is set to 1. irq2 : this irq is set to 1 when the device detects any change on the hp detection pin (headphone connection or deconnection). irq3 : on the stv82x7, same pins are used for both headphone and surround loudspeaker signal output. a change in the headphone configuration (hp active or not active) will lead to a signal switch on those hardware pins. in order to ensure a smooth audio transition, the output is soft muted before the signal is switched. the irq3 is then se t to 1 to advise the master processor that the signal has been switched and to request a hp/srnd ouput un-mute. 9.3 i2c bus expander pin bus_exp can be used to control ex ternal switchable if saw filter s or audio switches. this pin can be directly programmed by register reset .
45/149 stv82x7 stv82x7 reset 10 stv82x7 reset all stv82x7 features are controlled via the i2c bus. the stv82x7 can be "reset" in 2 ways: 1. by software via the i2c bus: this clears all synchronous logic, except for the i2c bus registers. 2. by hardware via the re set pin: in addition to clearing all sync hronous logic, the reset input (active on the low level) resets all the i2c bus registers to the default values listed below. table 7: reset default values function default mode demodulation auto-standard on scanned standards m/n, b/g, i, l/l? fm deviation 125 khz (max.) audio outputs automatic mute mode on loudspeaker source demodulated sound loudspeaker volume -40 db, differential mode, muted loudspeaker l/r balance l/r = 100% subwoofer -40 db / off headphone source demodulated sound headphone automatic detection on headphone volume -40 db, differential mode, muted headphone l/r balance l/r = 100% scart-1 out demodulated sound scart-2 out scart1 source scart volume -5.5 db, independent mode, muted i2s out off audio processing loudspeaker/headphone svc off, 0 db reference value loudspeaker surround off loudspeaker 5-band equalizer off, 0 db (flat band) loudspeaker loudness off headphone bass/treble off, 0 db (flat band) loudspeaker/headphone beeper -40 db / off
i2c interface stv82x7 46/149 11 i2c interface 11.1 i2c address and protocol the stv82x7 i2c interface works in slave mode and is fully compliant with i2c standards in fast mode (maximum frequency of 400 khz). two pairs of i2c chip addresses are used to connect two stv82x7 chips to the same i2c serial bus. the device address pairs are defined by the polarity of the adr_sel pin and are listed in the following table: protocol description write protocol read protocol w = write address, r = read address, a = acknowledge, n=no acknowledge. sub-address is the register address pointer; this value auto-increments for both write and read. table 8: i2c read/write addresses adr write address (w) read address (r) low (connected to gnd1) 80h 81h high (connected to vdd1) 84h 85h start w a sub-address a data a .... a data a stop start w a sub-address a stop start r a data a .... a data n
47/149 stv82x7 i2c interface 11.2 start-up and configuration change procedure figure 27: flow chart load patch file hw_reset bit = 1 (dsp run) (dsp inititialization) device configuration set-up (analog or digital) host_run bit = 1 (start dsp processing) (change configuration) init_mem bit = 0 (registers 85h to ffh are not reset) clock plls progammation (for crystal value different than 27 mhz) =1 =0 (fs1 & fs2 registers) (by i2c transfer) (bit 2 in host_cmd register) (bit 0 in dsp_status register) host_run bit = 0 (bit 0 in dsp_run register) host_no_init bit = 1 (optional) (bit 1 in dsp_run register) (stop dsp processing) init_mem bit ? hardware reset (by pin 43) power on note: this hw reset after power on is mandatory to avoid bad device configuration
register list stv82x7 48/149 12 register list note: the unused bits (defined as ?reserved?) in the i2c registers must be kept to zero. the system clock registers (from address 08h to 0bh and from address 5ah to 5dh) do not need to be modified if a standard 27 mhz q uartz crystal oscillator is used. the default values of the demodulator registers (from address 0ch to 55h) are for optimum performances and any change is not recommended, except for: agc_gain (0fh) to adjust agc gain for am carrier in l/l' standard (agc used in open loop). caroffset1 (22h) and caroffset2 (3ah) to compensate if carrier frequency with an out-of-standard offset. soundlevel prescaling prescale_am (94h), prescale_fm (95h), prescale_nicam (96h) and prescale_scart (97h) to equalize demodulated or external audio signal before audio processing. peak detector registers peak_det_input (9dh), peak_det_l (9eh), peak_det_r (9fh), peak_det_l_r (a0h) can be used to measure internal sound level. sound source selection for each audio output channel loudspeakers, headphone and scart to be done using audio_matrix_input (a2h). in multi-lingual mode, audio_matrix_language (a4h) selects separately the language for each audio output channel. register autostd_ctrl (8ah) is used to select between l/l' or d/k/k1/k2/k3 standard which can be discriminated automatically. to be used also to change maximum fm deviation (125 khz, by default) in case of wide overmodulation. autostd_standard_detect (8bh) and autostd_stereo_detect (8ch) to define the list of mono and stereo standards to be recognized automatically. note: () used in reset value column means that the bit or the byte is read-only. (s) symbol indicates that the field value is represented in signed binary format. (*) the field agc_err[4:0] ( agc_gain ) can be written by user if the bit agc_cmd ( agc_ctrl ) is set to one (by default controlled by automatic standard recognition system). to be used to adjust manually the input gain of analog agc amplifier for am carrier (l/l').
49/149 stv82x7 register list 12.1 i2c register map by default, all i2c registers controlled by automatic standard recognition system (autostandard) are forced to read-only mode for the user. these registers and bits are shaded in ta bl e 9 . table 9: list of i2c registers (sheet 1 of 6) name addr. reset bit 7 bit 6 bit 5 bit 4 bit 3 bit 2 bit 1 bit 0 ic general control cut_id 00h (0000 0001) 0 0 cut_number[5:0] reset 01h 0000 0000 bus_exp i2s_output 0 en_stby 0 soft_ lrst2 soft_ lrst1 soft_rst i2s_stat 05h (0000 0000) 0 0 0 0 0 0 lr_off lock_ flag i2s_sync_offset 06h (0000 0000) reserved clocking 1 sys_config 07h 0000 0000 i2s_ch_nb[1:0] input_freq[3:0] input_config[1:0] fs1_div 08h 0001 0010 en_prog 0 ndiv1[1:0] 0 sdiv1[2:0] fs1_md 09h 0001 0001 0 0 0 md1[4:0] fs1_pe_h 0ah 0011 0110 pe_h1[7:0] fs1_pe_l 0bh 0000 0000 pe_l1[7:0] demodulator demod_ctrl 0ch 0000 0110 0 0 far_mode gap_mode am_sel demod_mode[2:0] demod_stat 0dh (0000 0000) 0 0 0 qpsk_lk fm2_car fm2_sq fm1_car fm1_sq agc_ctrl 0eh 0001 0001 agc_ cmd 0 0 agc_ref[2:0] agc_cst[1:0] agc_gain 0fh (0000 0000) 0 agc_err[4:0] sig_over sig_ under dc_err_if 10h (0000 0000) dc_err[7:0] demodulator channel 1 carfq1h 12h 0011 1110 carfq1[23:16] carfq1m 13h 1000 0000 carfq1[15:8] carfq1l 14h 0000 0000 carfq1[7:0] fir1c0 15h 0000 0000 fir1c0[7:0] (s) fir1c1 16h 1111 1110 fir1c1[7:0] (s) fir1c2 17h 1111 1100 fir1c2[7:0] (s) fir1c3 18h 1111 1101 fir1c3[7:0] (s) fir1c4 19h 0000 0010 fir1c4[7:0] (s) fir1c5 1ah 0000 1101 fir1c5[7:0] (s) fir1c6 1bh 0001 1000 fir1c6[7:0]6 (s) fir1c7 1ch 0001 1111 fir1c7[7:0] (s) acoeff1 1dh 0010 0011 acoeff1[7:0] bcoeff1 1eh 0001 0010 bcoeff1[7:0] crf1 1fh (0000 0000) crf1[7:0] (s) ceth1 20h 0010 0000 ceth1[7:0] sqth1 21h 0011 1100 sqth1[7:0]
register list stv82x7 50/149 caroffset1 22h 0000 0000 caroffset1[7:0] (s) demodulator channel 2 iagcr 25h 1000 1000 iagc_ref[7:0] iagcc 26h 0000 0011 iagc_ off far_flt_en mono_flt _en bg_sel mono_pro g iagc_cst[2:0] iagcs 27h (0000 0000) iagc_ctrl[7:0] carfq2h 28h 0100 0100 carfq2[23:16] carfq2m 29h 0100 0000 carfq2[15.8] carfq2l 2ah 0000 0000 carfq2[7:0] fir2c0 2bh 0000 0000 fir2c0[7:0] (s) fir2c1 2ch 0000 0000 fir2c1[7:0] (s) fir2c2 2dh 0000 0000 fir2c2[7:0] (s) fir2c3 2eh 0000 0000 fir2c3[7:0] (s) fir2c4 2fh 1111 1111 fir2c4[7:0] (s) fir2c5 30h 0000 0100 fir2c5[7:0] (s) fir2c6 31h 0001 0100 fir2c6[7:0] (s) fir2c7 32h 0010 0101 fir2c7[7:0] (s) acoeff2 33h 1001 0000 acoeff2[7:0] bcoeff2 34h 1010 1100 bcoeff2[7:0] scoeff 35h 0001 1100 scoeff[7:0] srf 36h (0000 0000) srf[7:0] (s) crf2 37h (0000 0000) crf2[7:0] (s) ceth2 38h 0010 0000 ceth2[7:0] sqth2 39h 0011 1100 sqth2[7:0] caroffset2 3ah 0000 0000 caroffset2[7:0] (s) nicam nicam_ctrl 3dh 0000 0000 0 0 0 0 0 dif_pol ect mae nicam_ber 3eh (0000 0000) error[7:0] nicam_stat 3fh (0000 0000) nic_det f_mute loa cbi[3:0] nic_mute stereo fm zwt_ctrl 40h 0011 0001 lrst_ tone_off std_mode thresh[3:0] tsctrl[1:0] zwt_time 41h 0000 0100 0 0 0 0 0 zwt_time[2:0] zwt_stat 42h (0000 0000) 0 0 0 0 zw_stat_ rdy zw_det zw_st zw_dm analog control adc_ctrl 56h 0000 1000 i2s_data0_ctrl[1:0] 0 0 adc_ power_up adc_input_sel[2:0] scart1_2_output_ctrl 57h 1010 1000 sc2_mute sc2_output_sel[2:0] sc1_mute sc1_output_sel[2:0] scart3_output_ctrl 58h 0000 1011 0 0 0 0 sc3_mute sc3_output_sel[2:0] clocking 2 table 9: list of i2c registers (sheet 2 of 6) name addr. reset bit 7 bit 6 bit 5 bit 4 bit 3 bit 2 bit 1 bit 0
51/149 stv82x7 register list fs2_div 5ah 0001 0001 0 ndiv2[1:0] 0 sdiv2[2:0] fs2_md 5bh 0001 0001 0 0 0 md2[4:0] fs2_pe_h 5ch 0101 1100 pe_h2[7:0] fs2_pe_l 5dh 0010 1001 pe_l2[7:0] dsp control host_cmd 80h 0000 0000 it_in_dsp 0 0 0 0 hw_reset irq_status 81h 0000 0000 irq3 (hp/srnd unmute ready) irq2 (hp detected) irq1 (i2s sync lost) irq0 (autostd) soft_version 82h (0000 0002) soft_version[7:0] onchip_algos 83h (0000 0000) 0 pro_logic _select nicam i2s_input trubass tru surround pro_logic multichane l dsp_status 84h 0000 0000 0 0 0 0 0 0 0 init_mem dsp_run 85h 0000 0000 0 0 host_ no_init host_run i2s_in_config 86h 1000 1110 lock_ mode_en 0 sync lrclk_sta rt lrclk_ polarity sclk_ polarity data_cfg i2s_mode av_delay 89h 0000 0000 delay_time[6:0] delay_on automatic standard recognition system autostd_ctrl 8ah 0000 0001 0 0 0 force_ squelch single_ shot dk_dev[1:0] ldk_sw autostd_standard_detect 8bh 0010 1111 0 nicam_ c4_off nicam_ga p_mode nicam_ mono_in ldk_sck i_sck bg_sck mn_sck autostd_stereo_detect 8ch 0001 1111 ldk_zwt3 ldk_zwt2 ldk_swt1 ldk_ nicam i_nicam bg_zwt bg_nicam mn_zwt autostd_timers 8dh 1010 0100 fm_time[1:0] nicam_time[2:0] zweiton_time[2:0] autostd_status 8eh (0000 0000) stereo_ id stereo_ ok mono_ ok autostd_o n stereo_sid[1:0] mono_sid[1:0] audio preprocessing & selection dc_removal_input 90h 0000 0111 0 0 0 0 0 dc_scart dc_nicam dc_ demod dc_removal_l 91h (0000 0000) dc_removal_l[7:0] (s) dc_removal_r 92h (0000 0000) dc_removal_r[7:0] (s) prescale_select 93h 0000 0000 0 0 0 0 0 0 0 am_fm_ select prescale_am 94h 0000 0000 0 prescale_am[6:0] (s) prescale_fm 95h 0000 1100 0 prescale_fm[6:0] (s) prescale_nicam 96h 0001 1010 0 prescale_nicam[6:0] (s) prescale_scart 97h 0000 0000 0 0 prescale_scart[5:0] (s) prescale_i2s_0 98h 0000 0000 0 0 prescale_i2s_0[5:0] (s) prescale_i2s_1 99h 0000 0000 0 0 prescale_i2s_1[5:0] (s) prescale_i2s_2 9ah 0000 0000 0 0 prescale_i2s_2[5:0] (s) deemphasis_dematrix 9bh 0000 0000 0 0 nicam_ dematrix nicam_ deemph_ bypass fm_dematrix[1:0] fm_deemph _bypass fm_deemph _sw table 9: list of i2c registers (sheet 3 of 6) name addr. reset bit 7 bit 6 bit 5 bit 4 bit 3 bit 2 bit 1 bit 0
register list stv82x7 52/149 peak_det_input 9dh 0000 0000 peak_ location 0 peak_l_r_range peak_det_input[1:0] peak_det_l 9eh 0(0000 0000) overload_l [7:0] peak_l[6:0] peak_det_r 9fh 0(0000 0000) overload_ r[7:0] peak_r[6:0] peak_det_l_r a0h 0(0000 0000) overload_l _r[7:0] peak_l_r[6:0 matrixing audio_matrix_input a2h 0000 0000 0 0 0 0 0 scart_ input_ source hp_input_ source ls_input_ source audio_matrix_config a3h 0000 0000 0 0 0 scart_ matrix demod_matrix[3:0] audio_matrix_language a4h 0000 0000 mute_ stereo mute_ all scart_language[1:0] hp_language[1:0] ls_language[1:0] downmix_in_mode a6h 0000 0010 0 0 0 0 lfe_in mix_in_mode[2:0] downmix_out_mode a7h 0100 1010 0 hp_mode[1:0] scart_mode[1:0] mix_out_mode[2:0] downmix_dual_mode a8h 0000 0000 0 dual_on ls_dual_select[1:0] scart_dual_select [1:0] hp_dual_select[1:0] downmix_config a9h 0000 0001 0 0 srnd_factor[1:0] cen ter_factor[1:0] lr_upmix normalize audio processing pro_logic2_control aah 0011 1010 pl2_lfe pl2_output_downmix[2:0] pl2_modes[2:0] pl2_active pcm_srnd_delay abh 0000 0000 0 0 0 snrd_delay[4:0] pcm_center_delay ach 0000 0000 0 0 0 0 center_delay[3:0] pro_logic2_config adh 0000 0000 0 0 0 pl2_srnd_filter pl2_rs_ polarity pl2_ panorama pl2_auto balance pro_logic2_dimension aeh 0000 0000 0 pl2_c_width 0 pl2_dimension pro_logic2_level afh 0000 0000 pl2_level noise_generator b0h 0000 0000 10_db_ attenuate sright_ noise sleft_ noise sub_ noise center_ noise right_ noise left_ noise noise_on trusrnd_control b1h 0000 0000 0 trusrnd_ mono_ srnd trusrnd_input_mode[3:0] trusrnd_ mode trusrnd_ on trusrnd_input_gain b6h 0000 0000 trusrnd_input_gain[7:0] trusrnd_hp_dcl b7h 0000 0000 0 0 0 0 0 dialog_ clarity_on headphone _on 0 trusrnd_dc_elevation b8h 0000 1100 trusrnd_dc_elevation[7:0] trubass_ls_control bah 0000 0110 0 0 0 trubass_ls_size[3:0] trubass_ ls_on trubass_ls_level bbh 00001 1001 trubass_ls_level[7:0] trubass_hp_control bch 0000 0110 0 0 0 trubass_hp_size[3:0] trubass_ hp_on trubass_hp_level bdh 0000 1001 trubass_hp_level[7:0] svc_ls_control beh 0000 0010 0 0 0 0 svc_ls_input[1:0] svc_ ls_amp svc_ ls_on svc_ls_time_th bfh 1001 1000 svc_ls_time[2:0] svc_ls_threshold[4:0] svc_hp_control c0h 0000 0010 0 0 0 0 0 0 svc_ lhp_amp svc_ hp_on table 9: list of i2c registers (sheet 4 of 6) name addr. reset bit 7 bit 6 bit 5 bit 4 bit 3 bit 2 bit 1 bit 0
53/149 stv82x7 register list svc_hp_time_th c1h 1001 1000 svc_hp_time[2:0] svc_hp_threshold[4:0] svc_ls_gain c2h 0000 0000 0 0 0 svc_ls_make_up_gain[4:0] svc_hp_gain c3h 0000 0000 0 0 0 svc_hp_make_up_gain[4:0] stsrnd_control c4h 0000 0000 stsrnd_ stereo stsrnd_ mode stsrnd_ on stsrnd_freq c5h 0001 0101 0 0 stsrnd_bass[1:0] stsrnd_medium[1:0] stsrnd_treble[1:0] stsrnd_level c6h 1000 0000 stsrnd_gain[7:0] omnisurround_control c7h 0000 0000 st_voice omnisrnd_input_mode omnisrnd_ on st_dynamic_bass c8h 0000 0000 bass_level bass_freq dyn_bass_ on ls_eq_bt_ctrl c9h 0000 0000 0 0 0 0 0 0 ls_eq_bt_ sw ls_eq_on ls_eq_band1 cah 0000 0000 eq_band1[7:0] (s) ls_eq_band2 cbh 0000 0000 eq_band2[7:0] (s) ls_eq_band3 cch 0000 0000 eq_band3[7:0] (s) ls_eq_band4 cdh 0000 0000 eq_band4[7:0] (s) ls_eq_band5 ceh 0000 0000 eq_band5[7:0] (s) ls_bass_gain cfh 0000 0000 ls_bass[7:0] (s) ls_treble_gain d0h 0000 0000 ls_treble[7:0] (s) hp_bt_control d1h 0000 0000 0 0 0 0 0 0 0 hp_bt_on hp_bass_gain d2h 0000 0000 hp_bass[7:0] (s) hp_treble_gain d3h 0000 0000 hp_treble[7:0] (s) output_bass_mngt d4h 0000 0000 bass_ manage_on 0 sub_ active gain_ switch 0 ocfg_num[2:0] ls_loudness d5h 0000 0100 0 ls_loud_threshold[2:0] ls_loud_gain_hr[2:0] ls_ loud_on hp_loudness d6h 0000 0100 0 hp_loud_threshold[2:0] hp_loud_gain_hr[2:0] hp_ loud_on volume volume_modes d7h 1100 0111 antclip_hp _vol_clamp anticlip_ ls_vol_ clamp 00 scart_ volume_ mode srnd_ volume_ mode hp_ volume_ mode ls_ volume_ mode ls_l_volume_msb d8h 1001 1000 ls_l_volume_msb[7:0] ls_l_volume_lsb d9h 0000 0000 0 0 0 0 0 0 ls_l_volume_lsb[1:0] ls_r_volume_msb dah 0000 0000 ls_r_volume_msb[7:0] ls_r_volume_lsb dbh 0000 0000 0 0 0 0 0 0 ls_r_volume_lsb[1:0] ls_c_volume_msb dch 1001 1000 ls_c_volume_msb[7:0] ls_c_volume_lsb ddh 0000 0000 0 0 0 0 0 0 ls_c_volume_lsb[1:0] ls_sub_volume_msb deh 1001 1000 ls_sub_volume_msb[7:0] ls_sub_volume_lsb dfh 0000 0000 0 0 0 0 0 0 ls_sub_volume_lsb[1:0] ls_sl_volume_msb e0h 1001 1000 ls_sl_volume_msb[7:0] ls_sl_volume_lsb e1h 0000 0000 0 0 0 0 0 0 ls_sl_volume_lsb[1:0] ls_sr_volume_msb e2h 0000 0000 ls_sr_volume_msb[7:0] table 9: list of i2c registers (sheet 5 of 6) name addr. reset bit 7 bit 6 bit 5 bit 4 bit 3 bit 2 bit 1 bit 0
register list stv82x7 54/149 ls_sr_volume_lsb e3h 0000 0000 0 0 0 0 0 0 ls_sr_volume_lsb[1:0] ls_master_volume_msb e4h 1110 1000 ls_master_volume_msb[7:0] ls_master_volume_lsb e5h 0000 0000 0 0 0 0 0 0 ls_master_volume_ lsb[1:0] hp_l_volume_msb e6h 1001 1000 hp_l_volume_msb[7:0] hp_l_volume_lsb e7h 0000 0000 0 0 0 0 0 0 hp_l_volume_lsb[1:0] hp_r_volume_msb e8h 0000 0000 hp_r_volume_msb[7:0] hp_r_volume_lsb e9h 0000 0000 0 0 0 0 0 0 hp_r_volume_ lsb[1:0] scart_l_volume_msb eah 1101 1101 scart_l_volume_msb[7:0] scart_l_volume_lsb ebh 0000 0000 0 0 0 0 0 0 scart_l_volume_ lsb[1:0] scart_r_volume_msb ech 1101 1101 scart_r_volume_msb[7:0] scart_r_volume_lsb edh 0000 0000 0 0 0 0 0 0 scart_r_volume_ lsb[1:0] beeper beeper_on eeh 0000 0000 0 0 0 0 0 0 0 beeper_ on beeper_mode efh 0000 0011 0 0 0 beeper_duration[1:0] beeper_ pulse beeper_path[1:0] beeper_freq_vol f0h 0111 0000 beeper_freq[2:0] beeper_volume[4:0] mute mute_digital f1h 1001 1111 autostd_ mute_on 00 scart_ d_mute srnd_hp_ d_mute sub_ d_mute c_ d_mute ls_ d_mute s/pdif s/pdif_out_config f2h 0000 0100 0 0 0 0 0 spdif_out_ mute s/pdif_out_select[2:0] headphone configuration headphone_config f3h 0000 001(0) 0 0 0 0 hp_force hp_ls_ mute hp_det_ active hp_ detected dac control dac_control f4h 0001 1111 0 0 s/pdif_ mux dac_scart _mute dac_shp_ mute dac_csub_ mute dac_lslr_ mute power_ up spdif_channel_status f9h 0000 0000 channel_status emphasis copyright non_audio pro_con autostandard coefficients settings autostd_coeff_ctrl fbh 0000 0001 0 0 0 0 0 0 autostd_coeff_ ctrl[1:0] autostd_coeff_index_msb fch 0000 0000 0 0 0 0 0 0 0 autostd_ coeff_ index_msb autostd_coeff_index_lsb fdh 0000 0000 autostd_coeff_index_lsb[7:0] autostd_coeff_value feh 0000 0000 autostd_coeff_value[7:0] table 9: list of i2c registers (sheet 6 of 6) name addr. reset bit 7 bit 6 bit 5 bit 4 bit 3 bit 2 bit 1 bit 0
55/149 stv82x7 register list 12.2 stv82x7 general control registers cut_id version identification reset software reset register description the built-in automatic standard recognition system (autostandard) can be disabled. in this case, the software reset function (bits soft_lrst1 and soft_lrst2) can be used to implement the automatic standard recognition by i2c software. this is not required if the built-in automatic standard recognition system function is used (default). address: 00h type: r bit 7 bit 6 bit 5 bit 4 bit 3 bit 2 bit 1 bit 0 0 0 cut_number[5:0] bit name reset function bits[7:6] 00 reserved cut_number[5:0] 000001 dice version identification address: 01h type: r/w bit 7 bit 6 bit 5 bit 4 bit 3 bit 2 bit 1 bit 0 bus_exp i2s_output 0 en_stby 0 soft_lrst2 soft_lrst1 soft_rst bit name reset function bus_exp 0 static control by i2c of hardware pin bus_exp i2s_output 0 0 = i2s input (i2s out put will be provided on i2s_data0 pin) 1 = i2s output (512 x fs will be provided on i2s_pcm_clk pin) bit[5] 0 reserved. en_stby 0 standby mode enabling 0: normal mode 1: to lock the digital signals before to settle the device in standby mode bit 3 0 reserved. soft_lrst2 0 softreset (active high) of channel 2 detectors only. soft_lrst1 0 softreset (active high) of channel 1 detectors only. softr_rst 0 general softreset (active high) to reset all hardware registers except for i2c data.
register list stv82x7 56/149 i2s_ctrl i 2 s synchronization control register i2s_stat i2s synchronization status register i2s_sync_offset i2s synchronization offset frequency register 12.3 clocking 1 a low-jitter pll clock is integrated and can be fully reprogrammed using the registers described below. by default, the programming is defined for a 27-mhz quartz crystal frequency, which is the frequency recommended for reducing potential rf interference in the application. however, if address: 04h type: r/w bit 7 bit 6 bit 5 bit 4 bit 3 bit 2 bit 1 bit 0 000000lr_offlock_flag bit name reset function bits[7:2] 0 reserved. lr_off 0 lr signal detection 0: lr signal detected and correct 1: missing lr pulses detected lock_flag 0 lock flag allowing unmute of audio output address: 05h type: r/w bit 7 bit 6 bit 5 bit 4 bit 3 bit 2 bit 1 bit 0 000000lr_offlock_flag bit name reset function bits[7:2] 0 reserved. lr_off 0 lr signal detection 0: lr signal detected and correct 1: missing lr pulses detected lock_flag 0 lock flag allowing unmute of audio output address: 06h type: r/w
57/149 stv82x7 register list necessary, the pll clock can be re-programmed for other quartz crystal frequencies within a range from 23 to 30 mhz. other quartz crystal frequencies can be programmed on your demand. note: a crystal frequency change is compatible with other default i2c programming including the built-in automatic standard recognition system. sys_config system configuration control register fs1_div fs1 i/o divider programming register address: 07h type: r/w bit 7 bit 6 bit 5 bit 4 bit 3 bit 2 bit 1 bit 0 i2s_ch_nb[1:0] input_freq[3:0] input_config[1:0] bit name reset function i2s_ch_nb[1:0] 00 number of i2s channels input 00: n/a 01: 2 channels 10: 4 channels 11: 6 channels input_freq[3:0] 0000 i2s input frequency 0000 : 32 khz 0001: 44.1 khz 0010: 48 khz 0011: 8 khz (i2s input, 2 channels only) 0100 : 11.025 khz (i2s input, 2 channels only) 0101 : 12 khz (i2s input, 2 channels only) 0110 : 16 khz (i2s input, 2 channels only) 0111 : 22.05 khz (i2s input, 2 channels only) 1000 : 24 khz (i2s input, 2 channels only) input_config[1:0] 0 input stream to process 0 : sif & scart input (32 khz) 1 : scart input only (48 khz) 2 : i2s input only address: 08h type: r/w bit 7 bit 6 bit 5 bit 4 bit 3 bit 2 bit 1 bit 0 en_prog 0 ndiv1[1:0] 0 sdiv1[2:0] bit name reset function en_prog 0 fs1 programmation enable 0: fs1 i2c registers programmation ignored by sy stem - fs1 pre-programmed automatically by sys-config register (normal use with standard quartz of 27 mhz) 1: fs1 i2c registers programmation used by sy stem - fs1 pre-programmation by sys-config desactivated (to be used in case of no standard quartz, different from 27 mhz)
register list stv82x7 58/149 fs1_md fs1 coarse selection register fs1_pe_h fs1 fine selection register (msbs) fs1_pe_l fs1 fine selection register (lsbs) bit 6 0 reserved. ndiv1[1:0] 01 fs1 input clock divider selection bit 3 0 reserved. sdiv1[2:0] 010 fs1 output clock divider selection address: 09h type: r/w bit 7 bit 6 bit 5 bit 4 bit 3 bit 2 bit 1 bit 0 000 md1[4:0] bit name reset function bits[7:5] 000 reserved. md1[4:0] 10001 fs1 coarse selection address: 0ah type: r/w bit 7 bit 6 bit 5 bit 4 bit 3 bit 2 bit 1 bit 0 pe_h1[7:0] bit name reset function pe_h1[7:0] 0011 0110 fs1 fine selection (msbs) address: 0bh type: r/w bit 7 bit 6 bit 5 bit 4 bit 3 bit 2 bit 1 bit 0 pe_l1[7:0] bit name reset function
59/149 stv82x7 register list 12.4 demodulator demod_ctrl demodulator control register demod_stat demodulator detection status register bit name reset function pe_l1[7:0] 0000 0000 fs1 fine selection (lsbs) address: 0ch type: r/w bit 7 bit 6 bit 5 bit 4 bit 3 bit 2 bit 1 bit 0 0 0 far_mode gap_mode am_sel demod_mode[2:0] bit name reset function bit [7:6] 000 reserved far_mode 0 1: farrow and mono filter for nicam active gap_mode 0 defines the clock gapping mode of the demodulator 0: (default), the fs1 freq is controlled by stl- error (clock-pll mode) to align the instantaneous value of the internal clock with respect to the received nicam clock 1: the fs1 freq is fixed and the mean value of t he internal clock is aligned by variable gapping (src-error) with respect to the received nicam clock am_sel 0 demodulator configuration select 0: fm configuration of demodulator (default) 1: am configurat ion of demodulator demod_mode[2:0] 110 demodulator mode select ch1 fm ch2 fm/qpsk 000: normal fm normal 001: wide fm wide 010: normal qpsk system b/g/l/d/k 011: wide qpsk system b/g/l/d/k 100: normal fm wide 101: wide fm normal 110: normal qpsk system i 111: wide qpsk system i address: 0dh type: r bit 7 bit 6 bit 5 bit 4 bit 3 bit 2 bit 1 bit 0 0 0 0 qpsk_lk fm2_car fm2_sq fm1_car fm1_sq
register list stv82x7 60/149 note: these registers allow direct access to the demodulator signal detectors. agc_ctrl if agc control register bit name reset function bit [7:5] 000 reserved. qpsk_lk 0 qpsk lock detection flag 0: not detected 1: detected fm2_car 0 channel 2 fm/am carr ier detection flag 0: not detected 1: detected fm2_sq 0 channel 2 fm squelch detection flag 0: not detected 1: detected fm1_car 0 channel 1 fm/am carr ier detection flag 0: not detected 1: detected fm1_sq 0 channel 1 fm squelch detection flag 0: not detected 1: detected address: 0eh type: r/w bit 7 bit 6 bit 5 bit 4 bit 3 bit 2 bit 1 bit 0 agc_cmd 0 0 agc_ref[2:0] agc_cst[1:0] bit name reset function agc_cmd 0 automatic gain control command mode normally set to 0 enabling automatic mode. for l/l? standards, the agc should be switched off due to the presence of the am s ound carrier. in this case, a fixed gain value should be set using the agcs register. 0: automatic mode. agc controlled by the autostandard function. (default) 1: manual/forced mode bits[6:5] 00 reserved. agc_ref[2:0] 100 this bitfield is used to defines the clipping level which adjusts the allowable proportion of samples at the input of the adc which w ill be clipped. the agc tries to ma ximize the use of the full scale range of the adc. the default setting gives a ratio of 1/256. clipping ratio clipping ratio 000: 1/16 (single carrier) 100: 1/256 (default) 001: 1/32 101: 1/512 010: 1/64 110: 1/1024 011: 1/128 111: 1/2048 (multiple carriers)
61/149 stv82x7 register list agc_gain if agc control and status register note: when agc_cmd = 0 , agc_err[4:0] can be read -- indicating the input level. it can also be written to -- presetting the agc level which will then adjust itself to the final value. when agc_cmd = 1 , the agc is off and writing to agc_err[4:0] directly controls the agc amplifier gain. reading agc_err just confirms the fixed value. agc_cst[1:0] 01 agc time constant this is the time c onstant between each step of 1.5 db by the agc. step duration (ms) 00 1.33 01 2.66 10 5.33 11 10.66 address: 0fh type: r/w bit 7 bit 6 bit 5 bit 4 bit 3 bit 2 bit 1 bit 0 0 agc_err[4:0] sig_over sig_under bit name reset function bit 7 0 reserved. agc_err[4:0] 00000 amplifier gain control this is the gain control value of agc. t here are 20 steps of +1.5 db (see note below). 00000: gain-min 10100: gain-min + 30db 11111: gain-min + 30db sig_over 0 agc input signal upper threshold 0: normal signal 1: signal too large and agc is overloaded sig_under 0 agc input signal lower threshold 0: normal signal 1: signal too small and agc is underloaded when the agc is in automatic mode (agc_cmd = 0), bits sig_over and sig_under indicate if the input signal is too small/large and the ag c is under/overloaded. this is useful when setting the stv82x7 sif input level. bit name reset function
register list stv82x7 62/149 dc_err_if dc offset status for if adc 12.5 demodulator channel 1 carfq1h, carfq1m, carfq1l channel 1 carrier dco frequency note: carrier freq: carfq1(dec).f s / 2 24 with f s = 24.576 mhz (crystal oscillator frequency independent) address: 10h type: r bit 7 bit 6 bit 5 bit 4 bit 3 bit 2 bit 1 bit 0 dc_err[7:0] bit name reset function dc_err[7:0] 00000000 dc offset error of if adc output address: 12h to 14h type: r/w bit 7 bit 6 bit 5 bit 4 bit 3 bit 2 bit 1 bit 0 carfq1[23:16], carfq1 [15:8], carfq1[7:0] bit name reset function carfq1[23:16] carfq1[15:8] carfq1[7:0] 00111110 10000000 00000000 channel 1 dco carrier frequency (8 msbs) channel 1 dco carrier frequency channel 1 dco carrier frequency (8 lsbs), see ta b l e 1 0 . table 10: mono carrier frequencies by system system mono carrier freq. (mhz) carfq1[23:0] (dec) carfq1[23:0] m/n 4.5 3072000 2ee000h b/g 5.5 3754667 394aabh i 6.0 4096000 3e8000h l 6.5 4453717 43f555h d/k/k1/k2 6.5 4437333 43b555h
63/149 stv82x7 register list fir1c[0:7] channel 1 fir coefficients acoeff1 channel 1 baseband pll loop filter proportional coefficient address: 15h to 1ch type: r/w bit 7 bit 6 bit 5 bit 4 bit 3 bit 2 bit 1 bit 0 fir1c0[7:0] to fir1c7[7:0] table 11: channel 1 fir coefficients bitfield description (reset state) fm 27 khz fm 50 khz fm 200 khz fm 350 khz fm 500 khz am fir1c0[7:0] ffh 00h 00h 02h 01h 00h fir1c1[7:0] feh feh 01h 01h 00h feh fir1c2[7:0] feh fch 01h fch 04h fdh fir1c3[7:0] 00h fdh fch 03h fah feh fir1c4[7:0] 06h 02h 08h 04h 05h 04h fir1c5[7:0] 0eh 0dh f6h f2h 00h 0dh fir1c6[7:0] 16h 18h f8h 06h f2h 16h fir1c7[7:0] 1bh 1fh 4ah 43h 4dh 1dh address: 1dh type: r/w bit 7 bit 6 bit 5 bit 4 bit 3 bit 2 bit 1 bit 0 acoeff1[7:0] bit name reset function acoeff1[7:0] 00100011 used to program the proportional coefficient of the baseband pll loop filter (channel 1) defines the damping factor of the loop. for values, refer to ta b l e 1 2 .
register list stv82x7 64/149 bcoeff1 channel 1 baseband pll loop filter integral coefficient & dco gain ( * ) refer to demod_ctrl (demod_mode[2:0]) crf1 channel 1 baseband pll demodulator offset ceth1 channel 1 fm/am carrier level threshold address: 1eh type: r/w bit 7 bit 6 bit 5 bit 4 bit 3 bit 2 bit 1 bit 0 bcoeff1[7:0] bit name reset function bcoeff1[7:0] 00010010 used to program the integral coefficient of the baseband pll loop filter and dco gain defines the bandwidth of the loop. for values, refer to ta bl e 1 2 . table 12: baseband pll loop filter adjustment (fm mode) fm mode small standard medium wide* a2 standard acoeff 10h 22h 2ch 2ch 10h bcoeff 1ah 12h 0ah 0ah 11h fm_dev max (khz) 62.5 125 250 500 125 dco range (khz) 96 192 384 768 192 address: 1fh type: r bit 7 bit 6 bit 5 bit 4 bit 3 bit 2 bit 1 bit 0 crf1[7:0] bit name reset function crf1[7:0] (00000000) channel 1 carrier recovery frequency displays the instantaneous fr equency offset of the channel 1 baseband pll demodulator. address: 20h type: r/w bit 7 bit 6 bit 5 bit 4 bit 3 bit 2 bit 1 bit 0 ceth1[7:0]
65/149 stv82x7 register list sqth1 channel 1 fm squelch threshold register caroffset1 channel 1 dco carrier offset compensation bit name reset function ceth1[7:0] 00100000 this register is used to compare the carrier level in the channel and the threshold value. this level is measured after the channel filter and is rela tive to the full scale reference level (0 db). this is used as part of the validat ion of an fm signal, if the carrier level is below the threshold, the signal is considered to be non-valid. ceth threshold (db) ceth threshold (db) ffh -6 10h -32 (recommended value) 80h -12 08h -38 40h -18 00h off (all carrier levels are accepted) 20h -24 (default) address: 21h type: r/w bit 7 bit 6 bit 5 bit 4 bit 3 bit 2 bit 1 bit 0 sqth1[7:0] bit name reset function sqth1[7:0] 00111100 the squelch detector meas ures the level of high frequency noise (> 40 khz) and compares it to the threshold level (sqth). if the level is below this value, the s/n of the fm signal is considered to be acceptable. values are given for fm with standard deviation. sqth s/n (db) fah 0 77h 10 3ch 15 (default) 23h 20 19h 25 address: 22h type: r/w bit 7 bit 6 bit 5 bit 4 bit 3 bit 2 bit 1 bit 0 caroffset1[7:0] (s) bit name reset function caroffset1[7:0] 00000000 this value is used to correct the carrier frequency offset of the incoming if signal. automatic frequency control in fm mode c an be implemented by registers dc_removal_l and dc_removal_r . a dco frequency offset (in two?s complement format) is added to the pre-programming value by autotsd in the carfq1 registers (cor responding to the standard if carrier frequency). the programmable carrier offset ranges from -192 khz to +190.5 khz with a resolution of 1.5 khz. for standard fm deviation, the value displays by dc_removal_l and dc_removal_r can be directly loaded in caroffset1 to exactl y compensate the carrier offset on channel 1
register list stv82x7 66/149 12.6 demodulator channel 2 iagcr channel 2 internal agc reference for qpsk iagcc channel 2 internal agc time constant for qpsk address: 25h type: r/w bit 7 bit 6 bit 5 bit 4 bit 3 bit 2 bit 1 bit 0 iagc_ref[7:0] bit name reset function iagc_ref[7:0] 10001000 sets the mean value of the internal agc, used for qpsk demodulation. the default setting corresponds to half full scale amplitude at the baseband pll input. address: 26h type: r/w bit 7 bit 6 bit 5 bit 4 bit 3 bit 2 bit 1 bit 0 iagc_off far_flt_en mono_flt_en bg_sel mono_prog iagc_cst[2:0] bit name reset function iagc_off 0 agc disable 0: internal agc is active 1: internal agc is disabled far_flt_en 0 1: enable farrow filter for nicam mono_flt_en 0 1: enable mono filter for nicam bg_sel 0 1: bg nicam mono filter selected mono_prog 0 1: enable programmation of mono filter iagc_cst[2:0] 011 internal agc programmable step constant . these bits control the time per step (values gi ven for qpsk mode). the default value defines the optimum trade-off between fast settling time (for the fastest nicam identif ication) and the noise immunity (minimum ber degradation) step time (us) time response (ms) 000 703 128 001 352 64 010 176 32 011 88 16 100 44 8 101 22 4 110 11 2 111 5.5 0.82
67/149 stv82x7 register list iagcs channel 2 internal agc status for qpsk carfq2h, carfq2m, carfq2l channel 2 carrier dco frequency address: 27h type: r bit 7 bit 6 bit 5 bit 4 bit 3 bit 2 bit 1 bit 0 iagc_ctrl[7:0] bit name reset function iagc_ctrl[7:0] 00000000 indicates the value of the internal agc gain control address: 28h to 2ah type: r/w bit 7 bit 6 bit 5 bit 4 bit 3 bit 2 bit 1 bit 0 carfq2[23:16], carfq2 [15.8], carfq2[7:0] bit name reset function carfq2[23:16] carfq2[15.8] carfq2[7:0] 01000100 01000000 00000000 channel 2 dco carrier frequency (8 msbs) channel 2 dco carrier frequency channel 2 dco carrier frequency (8 lsbs) see ta b l e 1 3 . table 13: stereo carrier frequencies by system system stereo carrier freq. (mhz) carfq2[23:0] (dec) carfq2[23:0] m/n a2+ 4.724212 3225062 3135e6h b/g nicam 5.85 3993600 3cf000h bg a2 5.7421875 3920000 3bd080h i nicam 6.552 4472832 444000h l nicam 5.85 3993600 3cf000h dk nicam 5.85 3993600 3cf000h dk1 a2* 6.258125 4272000 412f80h dk2 a2* 6.7421875 4602667 463b2bh dk3 a2* 5.7421875 3920000 3bd080h
register list stv82x7 68/149 fir2c[0:7] channel 2 fir coefficients acoeff2 channel 2 baseband pll loop filter proportional coefficient bcoeff2 channel 2 baseband pll loop filter integral coefficient & dco gain address: 2bh to 32h type: r/w bit 7 bit 6 bit 5 bit 4 bit 3 bit 2 bit 1 bit 0 fir2c0[7:0] to fir2c7[7:0] table 14: channel 2 fir coefficients bitfield description fm 27 khz fm 50 khz qpsk 40% (reset state) qpsk100% fir2c0[7:0] ffh 00h 00h 00h fir2c1[7:0] feh feh 00h 00h fir2c2[7:0] feh fch ffh 00h fir2c3[7:0] 00h fdh 03h 00h fir2c4[7:0] 06h 02h 00h ffh fir2c5[7:0] 0eh 0dh f4h 04h fir2c6[7:0] 16h 18h 0ah 14h fir2c7[7:0] 1bh 1fh 3dh 25h address: 33h type: r/w bit 7 bit 6 bit 5 bit 4 bit 3 bit 2 bit 1 bit 0 acoeff2[7:0] bit name reset function acoeff2[7:0] 10010000 this value defines the loop clamping factor used to program the proportional coefficient of the baseband pll loop filter (channel 2). see ta b l e 1 5 and ta bl e 1 6 . address: 34h type: r/w bit 7 bit 6 bit 5 bit 4 bit 3 bit 2 bit 1 bit 0 bcoeff2[7:0]
69/149 stv82x7 register list scoeff channel 2 symbol tracking loop coefficients bit name reset function bcoeff2[7:0] 10101100 this value defines the loop bandwidth used to prog ram the integral coefficient of the baseband pll loop filter and dco gain. see ta bl e 1 5 and ta bl e 1 6 . table 15: baseband pll loop filter adjustments (fm mode) fm mode small standard mid wide a2 standard acoeff 10h 22h 2ch 2ch 10h bcoeff 1ah 12h 0ah 0ah 11h fm_dev max (khz) 62.5 125 250 500 125 dco range (khz) 96 192 384 768 192 table 16: baseband pll loop filter adjustments (qpsk mode) qpsk mode small medium large extra-large acoeff 90h 90h 90h 90h bcoeff ach a3h 9ah 91h dco_dev max (khz) 2.84375 5.6875 11.375 22.75 address: 35h type: r/w bit 7 bit 6 bit 5 bit 4 bit 3 bit 2 bit 1 bit 0 scoeff[7:0] bit name reset function scoeff[7:0] 00011100 this value is used to program the proportional and integral coefficients of the qpsk symbol tracking loop. see ta bl e 1 7 and ta bl e 1 8 . table 17: qpsk system - bg/l/dk standards (40% roll-off) extra-small small medium la rge extra-large open loop scoeff 1eh 25h 24h 26h 2ah 80h table 18: qpsk system - i standard (100% roll-off) extra-small small medium large extra-large scoeff 16h 1dh 1ch 23h 22h
register list stv82x7 70/149 srf channel 2 symbol tracking loop frequency crf2 channel 2 baseband pll demodulator offset ceth2 channel 2 fm carrier level threshold address: 36h type: r/w bit 7 bit 6 bit 5 bit 4 bit 3 bit 2 bit 1 bit 0 srf[7:0] bit name reset function srf[7:0] 00000000 displays in two?s complement format the frequency deviation between the incoming nicam bitstream and the quartz clocks. the maximum error is 250 ppm. address: 37h type: r bit 7 bit 6 bit 5 bit 4 bit 3 bit 2 bit 1 bit 0 crf2[7:0] bit name reset function crf2[7:0] 00000000 channel 2 carrier recovery frequency . displays the instantaneous frequency of fset of the channel 2 baseband pll address: 38h type: r/w bit 7 bit 6 bit 5 bit 4 bit 3 bit 2 bit 1 bit 0 ceth2[7:0] bit name reset function ceth2[7:0] 00100000 this register is used to compare the carrier level in the channel and the threshold value. this level is measured after the channel filter and is re lative to the full scale reference level (0 db). this is used as part of the validation of an fm si gnal, if the carrier level is below the threshold, the signal is considered to be non-valid. ceth threshold (db) ceth threshold (db) ffh -6 10h -32 80h -12 08h -38 40h -18 00h off (all carrier levels are accepted) 20h -24 (default
71/149 stv82x7 register list sqth2 channel 2 fm squelch threshold caroffset2 channel 2 dco carrier offset compensation 12.7 nicam registers nicam_ctrl nicam decoder control register address: 39h type: r/w bit 7 bit 6 bit 5 bit 4 bit 3 bit 2 bit 1 bit 0 sqth2[7:0] bit name reset function sqth2[7:0] 00111100 the squelch detector measures the level of high frequency noi se (> 40 khz) and compares it to the threshold level (sqth). if the level is below this value, the s/n of the fm signal is considered to be acceptable. values are given for fm with standard deviation. sqth s/n (db) fah 0 77h 10 3ch 15 (default) 23h 20 19h 25 address: 3ah type: r/w bit 7 bit 6 bit 5 bit 4 bit 3 bit 2 bit 1 bit 0 caroffset2[7:0] (s) bit name reset function caroffset2[7:0] 00000000 this value is used to correct the carrier frequency offset of the incoming if signal. automatic frequency control in fm mode c an be implemented by registers dc_removal_l and dc_removal_r . a dco frequency offset (in two?s complement format) is added to the pre-programming value by autotsd in the carfq2 registers (cor responding to the standard if carrier frequency). the programmable carrier offset ranges from -192 khz to +190.5 khz with a resolution of 1.5 khz. for standard fm deviation, the value displayed by register dc_removal_r can be directly loaded in register caroffset2 to exactly compensate the carrier offset on channel 2. address: 3dh type: r/w bit 7 bit 6 bit 5 bit 4 bit 3 bit 2 bit 1 bit 0 00000dif_polectmae
register list stv82x7 72/149 nicam_ber nicam bit error rate register nicam_stat nicam detection status register bit name reset function bits[7:3] 00000 reserved. dif_pol 0 0: no polarity inversion (default) 1: polarity inversion of the differential decoding ect 0 error counter timer : defines the nicam error measurement period 0: 128 ms (default) 1: 64 ms mae 0 max. allowed errors . defines the nicam error decoding for mute function. 0: 511 max (default) 1: 255 max address: 3eh type: r bit 7 bit 6 bit 5 bit 4 bit 3 bit 2 bit 1 bit 0 error[7:0] bit name reset function error[7:0] 00000000 nicam error counter value address: 3fh type: r bit 7 bit 6 bit 5 bit 4 bit 3 bit 2 bit 1 bit 0 nic_det f_mute loa cbi[3:0] nic_mute bit name reset function nic_det 0 nicam signal detect 0: nicam signal no detected 1: nicam signal detected f_mute 0 frame mute 0: no mute 1: mute due to superframe alignment loss loa 0 loss of frame alig nment word (faw) 0: no alignment lost 1: frame alignment word lost cbi[3:0] 0000 indicates the received nicam control bits nic_mute 0 indicates the nicam decoder mute
73/149 stv82x7 register list 12.8 stereo mode zwt_ctrl zweiton detector control register zwt_time zweiton detector timing register address: 40h type: r/w bit 7 bit 6 bit 5 bit 4 bit 3 bit 2 bit 1 bit 0 lrst_tone_off std_mode thresh[3:0] tsctrl[1:0] bit name reset function lrst_tone_off 0 control of the reset of the tone detector 0: periodical reset of tone detection enabled 1: periodical reset of tone detection disabled std_mode_c 0 0: german standard (default) 1: korean standard thresh[3:0] 1100 defines the threshold of the detector for pilot and tone frequencies. level (% of the mid scale) level (% of the mid scale) 0000 0 1000 50 0001 6.25 1001 56.25 0010 12.5 1010 62.5 0011 18.75 1011 68.75 0100 25 1100 (default) 75 0101 31.25 1101 81.25 0110 37.5 1110 87.5 0111 43.75 1111 93.75 tsctrl[1:0] 00 defines both the detection time and t he error probability (reliability of the detection). sample accumulation decision count time (ms) error probability 00 1024 2 256 10 -4 01 (default) 1024 3 384 10 -6 10 2048 2 512 10 -7 11 2048 3 768 10 -9 address: 41h type: r/w bit 7 bit 6 bit 5 bit 4 bit 3 bit 2 bit 1 bit 0 00000 zwt_time[2:0] bit name reset function bit [7:3] 00000 reserved.
register list stv82x7 74/149 zwt_stat zweiton status register 12.9 analog control adc_ctrl register description zwt_time[2:0] 100 defines the period of the re set tone used for tone detection system reset. duration (ms) 000 256 001 512 010 768 011 1024 100 1280 101 1536 110 1792 111 2040 address: 42h type: r bit 7 bit 6 bit 5 bit 4 bit 3 bit 2 bit 1 bit 0 lrst_tone_ off 000 zw_stat_ rdy zw_det zw_st zw_dm bit name reset function lrst_tone_off 0 indicates the status of the control bit programmed in the reg zwt-ctrl 0: periodical reset of tone detection enabled 1: periodical reset of tone detection disabled bits[6:4] 000 reserved. zw_stat_rdy 0 periodic flag indicating when the tone detection flags are updated and ready to be read zw_det 0 pilot detection flag zw_st 0 stereo tone detection flag zw_dm 0 dual mono tone detection flag address: 56h type: r/w bit 7 bit 6 bit 5 bit 4 bit 3 bit 2 bit 1 bit 0 i2s_data0_ctrl[1:0] 0 0 adc_power _up adc_input_sel[2:0] bit name reset function
75/149 stv82x7 register list scart1_2_output_ctrl register description bit name reset function i2s_data0_ctrl[1:0] 00 00 = scart 01 = l, r 10 = hp or srnd 11 = c/sub bits[7:4] 0000 reserved. adc_power_up 1 control of the power up of the audio adc 0: adc in power down mode 1: wake up of the adc adc_input_sel [2:0] 000 selection of the adc input signal 000: scart 1 (default) 011: scart 4 001: scart 2 100: mono input 010: scart 3 other: reserved address: 57h type: r/w bit 7 bit 6 bit 5 bit 4 bit 3 bit 2 bit 1 bit 0 sc2_mute sc2_output_sel[2:0] s c1_mute sc1_output_sel[2:0] bit name reset function sc2_mute 1 mute command for the output scart 2 0: output not muted 1: output muted sc2_output_sel[2:0] 010 selection of the output scart 2 configuration: 000: dsp 100: input scart 3 001: mono input 101: input scart 4 010: input scart 1 (default) other: reserved 011: input scart 2 sc1_mute 1 mute command for the output scart 1 0: output not muted 1: output muted sc1_output_sel[2:0] 000 selection of the output scart 1 configuration: 000: dsp (default) 100: input scart 3 001: mono input 101: input scart 4 010: input scart 1 other: reserved 011: input scart 2
register list stv82x7 76/149 scart3_output_ctrl register description 12.10 clocking 2 fs2_div fs2 i/o divider programming register fs2_md fs2 coarse selection register address: 58h type: r/w bit 7 bit 6 bit 5 bit 4 bit 3 bit 2 bit 1 bit 0 0 0 0 0 sc3_mute sc3_output_sel[2:0] bit name reset function bits[7:4] 0000 reserved. sc3_mute 1 mute command for the output scart 3 0: output not muted 1: output muted sc3_output_sel[2:0] 011 selection of the output scart 3 configuration: 000: dsp 100: input scart 3 001: mono input 101: input scart 4 010: input scart 1 other: reserved 011: input scart 2 (default) address: 5ah type: r/w bit 7 bit 6 bit 5 bit 4 bit 3 bit 2 bit 1 bit 0 0 0 ndiv2[1:0] sdiv2[2:0] bit name reset function bit [7:6] 0 reserved. ndiv2[1:0] 01 fs2 input clock divider selection bit 4 0 reserved. sdiv2[2:0] 001 fs2 output clock divider selection address: 5bh type: r/w bit 7 bit 6 bit 5 bit 4 bit 3 bit 2 bit 1 bit 0 000 md2[4:0]
77/149 stv82x7 register list fs2_pe_h fs2 fine selection register (msbs) fs2_pe_l fs2 fine selection register (lsbs) 12.11 dsp control host_cmd dsp hardware control register bit name reset function bits[7:5] 000 reserved. md2[4:0] 10001 fs2 coarse selection address: 5ch type: r/w bit 7 bit 6 bit 5 bit 4 bit 3 bit 2 bit 1 bit 0 pe_h2[7:0] bit name reset function pe_h2[7:0] 0101 1100 fs2 fine selection (msbs) address: 5dh type: r/w bit 7 bit 6 bit 5 bit 4 bit 3 bit 2 bit 1 bit 0 pe_l2[7:0] bit name reset function pe_l2[7:0] 0010 1001 fs2 fine selection (lsbs) address: 80h type: r/w bit 7 bit 6 bit 5 bit 4 bit 3 bit 2 bit 1 bit 0 it_in_dsp 0 0 0 0 hw_reset bit name reset function it_in_dsp 0 valid i2c table. bits[6:3] 0000 reserved.
register list stv82x7 78/149 irq_status irq status register soft_version embedded software version register onchip_algos register description hw_reset 0 dsp hardware reset when set. bits[1:0] 00 reserved. address: 81h type: r/w bit 7 bit 6 bit 5 bit 4 bit 3 bit 2 bit 1 bit 0 irq7 irq6 irq5 irq4 irq3 irq2 irq1 irq0 bit name reset function bits[7:4] 0000 reserved. irq3 0 unmute hp/srnd dac irq irq2 0 hp connection/deconnectionirq irq1 0 i2s lock lostirq irq0 0 auto-standard irq address: 82h type: r bit 7 bit 6 bit 5 bit 4 bit 3 bit 2 bit 1 bit 0 soft_version[7:0] bit name reset function soft_version[7:0] 0000 0002 version of the embedded software. address: 83h type: r bit 7 bit 6 bit 5 bit 4 bit 3 bit 2 bit 1 bit 0 0 pro_logic_ select nicam i2s_input trubass tru surround pro_logic multichannel bit name reset function
79/149 stv82x7 register list dsp_status dsp status register dsp_run register description bit name reset function bit 7 0 reserved. pro_logic_select 0 0: dolby pro logic i 1: dolby pro logic ii nicam 0 nicam demodulator is present when set. i2s_input 0 0: 1 i2s input 1: 3 i2s inputs dialog_clarity 0 srs dialog clarity algorithm is present when set. trubass 0 srs trubass algorithm is present when set. trusurround 0 srs trusurround al gorithm is present when set. pro_logic 0 dolby pro logic algor ithm is present when set. multichannel 0 multichannels out put is present when set. address: 84h type: r bit 7 bit 6 bit 5 bit 4 bit 3 bit 2 bit 1 bit 0 0000000init_mem bit name reset function bits[7:1] 0000000 reserved. init_mem 0 dsp initialization 0: dsp is not initialized. 1: dsp is initialized. address: 85h type: r/w bit 7 bit 6 bit 5 bit 4 bit 3 bit 2 bit 1 bit 0 test_mode 0 0 host_ no_init host_run bit name reset function test_mode_ input[7:6] 00 active in test_mode = 1 (bypass processing) 0: i2s_0 copied to scart and spdif outputs 1: i2s_1 copied to scart and spdif outputs 2: i2s_2 copied to scart and spdif outputs
register list stv82x7 80/149 i2s_in_config i2s configuration register av_delay audio/video delay register test_mode[5:4] 00 0: standard configuration 1: bypass processing configuration 2: clock loop test bits[3:2] 00 reserved host_ no_init 0 0: i2c register table is initialized when we soft reset 1: i2c register table is not initialized when we soft reset host_run 0 0: soft reset dsp 1: start dsp processing address: 86h type: r/w bit 7 bit 6 bit 5 bit 4 bit 3 bit 2 bit 1 bit 0 lock_mode _en 0 sync lrclk_start lrclk_ polarity sclk_ polarity data_cfg i2s_mode bit name reset function lock_mode_en 1 0: disable lock mode for external i2s input 1: enable lock mode for external i2s input bit 6 0 reserved. sync 0 i2s synchronisation: 0: capture directly 1: wait for synchro lrclk_start 0 according to lrclk polarity, first data take: 0: left 1: right lrclk_polarity 0 polarit y of the left data sclk_polarity 1 0: falling edge 1: rising edge data_cfg 1 0: lsb first 1: msb first i2s_mode 0 0: non standard mode 1: standard mode (refer to figure 26 ) address: 89h type: r/w bit 7 bit 6 bit 5 bit 4 bit 3 bit 2 bit 1 bit 0 delay_time delay_on bit name reset function
81/149 stv82x7 register list note: av_delay acts on both ls and hp paths simultaneously (same delay). 12.12 automatic standard recognition autostd_ctrl automatic standard recognition control register note: only standard deviation fm 50k khz is compatible with other d/k1/k2/k3 standards in automatic standard recognition search mode. fm deviation superior to 350 khz will degrade strongly nicam reception due to overlapping of fm and qpsk if spectrum in dk-nicam standard. bit name reset function delay_time 0000000 audio delay time 0000000: 0 ms ... 0111100: 60 ms (48khz) ... 1011010: 90 ms (32khz) delay_on 0 audio/video delay is enabled when set. address: 8ah type: r/w bit 7 bit 6 bit 5 bit 4 bit 3 bit 2 bit 1 bit 0 000 force_sque lch single_shot dk_dev[1:0] ldk_sw bit name reset function bits[7:5] 000 reserved. force_squelch 0 allow to force squelch detection 0: fm squelch is taken into consideration for mono detection 1: fm squelch is not taken into consideration for mono detection single_shot 0 single shot mode selection 0: single shot mode is not selected 1: single shot mode is selected 1 1. single_shot mode can be used before disabling the automatic standard recognition (autostandard) to pre-program demodulator registers in a defined standard and reduce i2c programming in manual mode dk_dev[1:0] 00 selects fm deviation configuration to take into account of overmodulat ion in dk_nicam standard. 00: fm 50 khz (default) 10: fm 350 khz 01: fm 200 khz 11: fm 500 khz ldk_sw 1 makes exclusive the auto search of dk/k1/k2/k3 and l/l? standard 0: dk/k1/k2/k3 standard auto-search / l/l? disabled 1: l/l? standard auto-search / dk/k1/k2/k3 disabled
register list stv82x7 82/149 l/l? and dk/k1/k2/k3 standard cannot be discriminated in automatic standard recognition search mode because the same frequency is used for the mono if carrier. autostd_standard_detectauto standard check standard register note: autostandard is off when all mono standards are disabled (ldk_sck = 0, i_sck = 0, bg_sck = 0 and mn_sck = 0). autostd_stereo_detect auto standard check stereo register address: 8bh type: r/w bit 7 bit 6 bit 5 bit 4 bit 3 bit 2 bit 1 bit 0 0 nicam_c4_o ff nicam_gap_ mode nicam_mon o_in ldk_sck i_sck bg_sck mn_sck bit name reset function nicam_c4_off 0 0: autostandard will consider the c4 bit for mono backup 1: autostandard will ignore the c4 bit for mono backup nicam_gap_mode 1 0: nicam, fast search 1: nicam, slow search (no perturbations on left channel in search mode) nicam_mono_in 0 0: the mono backup for nicam comes from internal demodulator 1: the mono backup for nicam comes from mono input ldk_sck 1 l/l? or d/k mono standard enable 0: disabled 1: enabled i_sck 1 i mono standard enable 0: disabled 1: enabled bg_sck 1 b/g mono standard enable 0: disabled 1: enabled mn_sck 1 m/n mono standard enable 0: disabled 1: enabled address: 8ch type: r/w bit 7 bit 6 bit 5 bit 4 bit 3 bit 2 bit 1 bit 0 ldk_zwt3 ldk_zwt2 ldk_zwt1 ldk_ nic i_nic bg_zwt bg_nic mn_zwt
83/149 stv82x7 register list note: stereo standard covers all transmission modes (stereo or multi-language) of the nicam or zweiton (a2, a2* or a2+) system. autostd_timers detection time out register bit name reset function ldk_zwt3 0 d/k3 zweiton (a2*) stereo standard enable 0: disabled 1: enabled ldk_zwt2 0 d/k2 zweiton (a2*) stereo standard enable 0: disabled 1: enabled ldk_zwt1 0 d/k1 zweiton (a2*) stereo standard enable 0: disabled 1: enabled ldk_nic 1 d/k nicam stereo standard enable 0: disabled 1: enabled i_nic 1 i nicam stereo standard enable 0: disabled 1: enabled bg_zwt 1 b/g zweiton (a2) standard enable 0: disabled 1: enabled bg_nic 1 b/g nicam standard enable 0: disabled 1: enabled mn_zwt 1 m/n zweiton (a2+) standard enable 0: disabled 1: enabled address: 8dh type: r/w bit 7 bit 6 bit 5 bit 4 bit 3 bit 2 bit 1 bit 0 fm_time[1:0] nicam_time [2:0] zweiton_time[2:0] bit name reset function fm_time[1:0] 10 fm/am detection time-out 00 : 16 ms 10: 48 ms (default) 01: 32 ms 11: 64 ms nicam_time[2:0] 100 nicam detection time-out 000: 96 ms 100: 224 ms (default) 001: 128 ms 101: 256 ms 010: 160 ms 110: 288 ms 011: 192 ms 111: 320 ms
register list stv82x7 84/149 note: the time-out default value is optimum and does not normally need to be changed. autostd_status detection standard status register zweiton_time[2:0] 100 zweiton detection time-out 000: forbidens 100: 1280 ms (default) 001: 512 ms 101: 1536 ms 010: 768 ms 110: 1792 ms 011: 1024 ms 111: 2040 ms address: 8eh type: r bit 7 bit 6 bit 5 bit 4 bit 3 bit 2 bit 1 bit 0 stereo_id stereo_ok mono_ok autostd_on stereo_sid[1:0] mono_sid[1:0] bit name reset function stereo_id 0 stereo mode detection flag activated when a stereo standard coming from the demodulator selected on loudspeakers output. stereo transmission modes are: - zweiton stereo carrier and stereo modulati on (indifferently german or korean standard) - nicam stereo with backup (cbi = 1000) - nicam stereo with no backup (cbi = 0000) autostd_on 0 automatic standard recognition system status 0: automatic standard rec ognition system is off 1: automatic standard recognition system is on stereo_sid[1:0] 00 identification of the detec ted tv sound standard. see ta bl e 1 9 . mono_sid[1:0] 00 stereo_ok 0 stereo standard detected mono_ok 0 mono standard detected table 19: tv sound standards system mono sound (mhz) mono_sid [1:0] ldk_sw dk_dev [1:0] stereo sound (mhz) stereo_sid [1:0] m/n 4.5 (fm 27k) 00 x xx 4.724 (zweiton a2+) 00 b/g 5.5 (fm 50k) 01 x xx 5.85 (nicam 40%) 00 x xx 5.742 (zweiton a2) 01 i 6.0 (fm 50k) 10 x xx 6.552 (nicam 100%) 00 bit name reset function
85/149 stv82x7 register list note: x means don?t care. 12.13 audio preprocessing and selection registers dc_removal_input dc removal register l6.5 (am) 11 1 xx 5.85 (nicam 40%) 00 d/k 6.5 (fm 50k) 0 00 5.85 (nicam 40%) 00 6.5 (fm 200k) 01 6.5 (fm 350k) 10 6.5 (fm 500k) 11 d/k1/k2/ k3 6.5 (fm 50k) 0 xx 5.85 (nicam 40%) 00 0 xx 6.258 (zweiton a2*) 01 0 xx 6.742 (zweiton a2*) 10 0 xx 5.742 (zweiton a2*) 11 address: 90h type: r/w bit 7 bit 6 bit 5 bit 4 bit 3 bit 2 bit 1 bit 0 0 0 0 0 0 dc_scart dc_nicam dc_demod bit name reset function bits[7:3] 00000 reserved. dc_scart 1 0: scart input, dc removal inactive 1: scart input, dc removal active dc_nicam 1 0: nicam input, dc removal inactive 1: nicam input, dc removal active dc_demod 1 0: fm input, dc removal inactive 1: fm input, dc removal active table 19: tv sound standards system mono sound (mhz) mono_sid [1:0] ldk_sw dk_dev [1:0] stereo sound (mhz) stereo_sid [1:0]
register list stv82x7 86/149 dc_removal_l fm dc offset left registerl dc_removal_r fm dc offset right register address: 91h type: r bit 7 bit 6 bit 5 bit 4 bit 3 bit 2 bit 1 bit 0 dc_removal_l[7:0] bit name reset function dc_removal_l[7:0] 0000 0000 displays (in two?s complement format) the fm (or am) dc offset leve l after demodulation on channel 1 (and removed automatically). in fm mode, the dc offset value gives a direct value of the carrier frequency offset which is used to compensate the dco with the caroff set1 value in the event of an out-of-standard offset. the range and the resolution depend upon the fm bandwidth programmed defined in register bcoeff1. see ta b l e 2 0 . address: 92h type: r bit 7 bit 6 bit 5 bit 4 bit 3 bit 2 bit 1 bit 0 dc_removal_r[7:0] bit name reset function dc_removal_r[7:0] 0000 0000 displays (in two?s complement format) the fm (or am) dc offset le vel after demodulation on channel 2 (and removed automatically). in fm mode, the dc offset value gives a direct value of the carrier frequency offset which is used to compensate the dco with the caro ffset2 value in the event of an out-of- standard offset. the range and the resolu tion depend upon the fm bandwidth programmed defined in register bcoeff2. see ta bl e 2 0 . table 20: dc_removal_l/r range and resolution fm mode range (khz) resolution (khz) small 96 0.750 standard & a2 standard 192 1.5 medium 384 3 large 768 6
87/149 stv82x7 register list prescale_select am/fm prescaling select register prescale_am am prescaling register prescale_fm fm prescaling register address: 93h type: r/w bit 7 bit 6 bit 5 bit 4 bit 3 bit 2 bit 1 bit 0 0000000 am_fm_ select bit name reset function bits[7:1] 0000000 reserved. am_fm_select 0 0: fm prescale is applied to demodulator channels 1: am prescale is applied to demodulator channels address: 94h type: r/w bit 7 bit 6 bit 5 bit 4 bit 3 bit 2 bit 1 bit 0 0 prescale_am bit name reset function bit 7 0 reserved. prescale_am[6:0] 0000000 -12 to + 24 db am prescaling to normalize the am demodulated signal level before audio processing. auto level contro l can be implemented by i2c software using the peak level detector. (default value = 0 db) g (db) g (db ) 0110000 +24 1101100 -10 0101111 +23.5 1101011 -10.5 0101110 +23 1101010 -11 0101101 +22.5 1101001 -11.5 0101100 +22 1101000 -12 etc. address: 95h type: r/w bit 7 bit 6 bit 5 bit 4 bit 3 bit 2 bit 1 bit 0 0 prescale_fm
register list stv82x7 88/149 prescale_nicam nicam prescaling register prescale_scart scart prescaling register bit name reset function bit 7 0 reserved. prescale_fm[6:0] 0001100 -12 to + 24 db fm prescaling to normalize the fm demodulated signal level before audio processing. auto level control can be implemented by i2c software using the peak level detector. (default value = +6 db) g (db) g (db) 0110000 +24 1101100 -10 0101111 +23.5 1101011 -10.5 0101110 +23 1101010 -11 0101101 +22.5 1101001 -11.5 0101100 +22 1101000 -12 etc. address: 96h type: r/w bit 7 bit 6 bit 5 bit 4 bit 3 bit 2 bit 1 bit 0 0 prescale_nicam bit name reset function bit 7 0 reserved. prescale_nicam[6:0] 011010 -6 to + 24 db nicam prescali ng to normalize the nicam demodulated signal level before audio processing. auto level control can be impl emented by i2c software using the peak level detector. (default value = +13 db) g (db) g (db) 0110000 +24 1111000 -4 0101111 +23.5 1110111 -4.5 0101110 +23 1110110 -5 0101101 +22.5 1110101 -5.5 0101100 +22 1110100 -6 etc. address: 97h type: r/w bit 7 bit 6 bit 5 bit 4 bit 3 bit 2 bit 1 bit 0 0 0 prescale_scart bit name reset function bit [7:6] 00 reserved.
89/149 stv82x7 register list prescale_i2s_0 i2s_0 prescaling register prescale_i2s_1 i2s_1 prescaling register prescale_ scart[5:0] 0000000 -12 to + 12 db scart prescaling to normalize the scart signal level before audio processing. auto level control can be implem ented by i2c software using the peak level detector. (default value = 0 db) g (db) g (db) 011000 +12 101100 -10 010111 +11.5 101011 -10.5 010110 +11 101010 -11 010101 +10.5 101001 -11.5 010100 +10 101000 -12 etc. address: 98h type: r/w bit 7 bit 6 bit 5 bit 4 bit 3 bit 2 bit 1 bit 0 0 0 prescale_i2s_0[5:0] bit name reset function bits [7:6] 00 reserved. prescale_i2s_0[5:0] 000000 -12 to + 12 db i2s_0 prescaling to normalize the i2s_0 signal level before audio processing. auto level control can be implemented by i2c soft ware using the peak level detector. (default value = 0 db) g (db) g (db) 011000 +12 101100 -10 010111 +11.5 101011 -10.5 010110 +11 101010 -11 010101 +10.5 101001 -11.5 010100 +10 101000 -12 etc. address: 99h type: r/w bit 7 bit 6 bit 5 bit 4 bit 3 bit 2 bit 1 bit 0 0 0 prescale_i2s_1[5:0] bit name reset function bits [7:6] 00 reserved. bit name reset function
register list stv82x7 90/149 prescale_i2s_2 i2s_2 prescaling register deemphasis_dematrix deemphasis-dematrix register prescale_i2s_1[5:0] 000000 -12 to + 12 db i2s_1 prescaling to normalize the i2s_1 signal level before audio processing. auto level control can be implemented by i2c soft ware using the peak level detector. (default value = 0 db) g (db) g (db) 011000 +12 101100 -10 010111 +11.5 101011 -10.5 010110 +11 101010 -11 010101 +10.5 101001 -11.5 010100 +10 101000 -12 etc. address: 9ah type: r/w bit 7 bit 6 bit 5 bit 4 bit 3 bit 2 bit 1 bit 0 0 0 prescale_i2s_2[5:0] bit name reset function bits [7:6] 00 reserved. prescale_i2s_2[5:0] 000000 -12 to + 12 db i2s_2 prescaling to normalize the i2s_2 signal level before audio processing. auto level control can be implemented by i2c soft ware using the peak level detector. (default value = 0 db) g (db) g (db) 011000 +12 101100 -10 010111 +11.5 101011 -10.5 010110 +11 101010 -11 010101 +10.5 101001 -11.5 010100 +10 101000 -12 etc. address: 9bh type: r/w bit 7 bit 6 bit 5 bit 4 bit 3 bit 2 bit 1 bit 0 00 nicam_ dematrix nicam_ deemph_by pass fm_dematrix fm_deemph _bypass fm_deemph _sw bit name reset function bits [7:6] 00 reserved. bit name reset function
91/149 stv82x7 register list peak_det_input peak detector input source register peak_det_l peak level detector status register (l channel) nicam_dematrix 0 dematrixing fo r nicam demodulator input: 00: l=ch0, r=ch1 01: l=ch1, r=ch0 nicam_deemph_ bypass 0 0: nicam deemphasis is not bypassed. 1: nicam deepmhasis is bypassed. fm_dematrix[3:2] 00 dematrixi ng for fm demodulator input: 00: l=ch0, r=ch1 01: l=ch0+ch1, r=ch0-ch1 10: l=2ch0-ch1, r=ch1 11: l=(ch0+ch1)/2, r=(ch0-ch1)/2 fm_deemph_ bypass 0 0: fm deemphasis is not bypassed. 1: fm deepmhasis is bypassed. fm_deemph_sw 0 0: 50 s fm deemphasis.| 1: 75 s fm deepmhasis. address: 9dh type: r bit 7 bit 6 bit 5 bit 4 bit 3 bit 2 bit 1 bit 0 peak_location 0 peak_l_r_range peak_det_input[1:0] bit name reset function peak_location 0 peak detector location : 0: peak detector placed betw een fm/nicam dematrix and audio matrix or between i2s prescale and downmix 1: peak detector placed before dc removal (for input saturation detection) bit 6 0 reserved. peak_l_r_range 0000 peak l-r range. 0000 : 0 dbfs to -42 dbfs 0001 : -6 dbfs to -48 dbfs 0010 : -12 dbfs to -54 dbfs 0011 : -18 dbfs to -60 dbfs ... peak_det_input[1:0] 00 peak level detector source selection 00: am/fm or i2s 0 10: scart or i2s 2 01: nicam or i2s 1 address: 9eh type: r bit 7 bit 6 bit 5 bit 4 bit 3 bit 2 bit 1 bit 0 overload_l peak_l[6:0] bit name reset function
register list stv82x7 92/149 peak_det_r peak level detector status register (r channel) peak_det_l_r peak level detector status register (l - r) bit name reset function overload_l[7] 0 memorise overload on the peak detection. this field can be reset. peak_l[6:0] 00000000 displays the absolute peak level of the audio source select ed. the measured value is updated continuously every 64 ms. the range varies linearly from the full scale (0 db) down to 1/ 256 of the full scale (-48 db). in am/fm mono mode, only the peak_l[7:0] value must be taken into account. in fm mono mode, the audio peak level range depends upon the programmed fm bandwidth. the unique difference is that t he measurement is done after so und pre-processing (dc offset removal, prescaling, de-emphasis and dematrixing). in fm stereo mode, the maximum value may be used to check if the incoming signal level is correctly adjusted by the prescaling factor or if there are no fm overmodulation problems (clipping). programmable values are listed in ta bl e 2 0 . address: 9fh type: r bit 7 bit 6 bit 5 bit 4 bit 3 bit 2 bit 1 bit 0 overload_r peak_r[6:0] bit name reset function overload_r[7] 0 memorise overload on the peak detection. this field can be reset. peak_r[7:0] 0000000 displays the absolute peak level of the audio source select ed. the measured value is updated continuously every 64 ms. the range varies linearly from the full scale (0 db) down to 1/256 of the full scale (-48 db). for more information, refer to register peak_det_l . address: a0h type: r bit 7 bit 6 bit 5 bit 4 bit 3 bit 2 bit 1 bit 0 overload_l_r peak_l_r[6:0] bit name reset function overload_l_r[7] 0 memorise overload on the peak detection. this field can be reset. peak_l_r[7:0] 0000000 displays the difference between l and r (l - r) channels for the audio source selected. for more information, refer to register peak_det_l .
93/149 stv82x7 register list 12.14 matrixing audio_matrix_input audio matrix input selection register audio_matrix_config register description address: a2h type: r/w bit 7 bit 6 bit 5 bit 4 bit 3 bit 2 bit 1 bit 0 00000 scart_ input_ source hp_input_ source ls_input_ source bit name reset function bits [7:3] 00000 reserved. scart_input_ source 0 select input source for scart output: 0: demod 1: scart input hp_input_ source 0 select input source for hp output: 0: demod 1: scart input ls_input_ source 0 select input source for ls output: 0: demod 1: scart input address: a3h type: r/w bit 7 bit 6 bit 5 bit 4 bit 3 bit 2 bit 1 bit 0 000 scart_ matrix demod_matrix[3:0] bit name reset function bits [7:5] 000 reserved. scart_matrix 0 indicates the scart input signal matrixing (see ta b l e 2 2 ) demod_matrix [3:0] 0000 indicates the demod input signal matrixing (see ta bl e 2 1 )
register list stv82x7 94/149 note: switching between stereo and forced mono modes can be done using (fm_l + fm_r)/2 or (nic_l + nic_r)/2 configurations. audio_matrix_language register description table 21: demod matrix input mode language -> stereo mono a mono b mono c backup mode demod_mx l r l r l r l r mono am/fm with backup 0000 fm fm fm fm mono am/fm no backup 0001 - - - fm zwt st 0100 fm_l fm_r (fm_l + fm_r)/2 (fm_l + fm_r)/2 (fm_l + fm_r)/2 zwt dual 0101 fm_m1 fm_m2 fm_m1 fm_m2 (fm_m1 + fm_m2)/2 nicam mn, backup 1000 nic_m1 nic_m1 nic_m1 fm mono am/fm with backup nicam dual backup 1001 nic_m1 nic_m2 nic_m1 nic_m2 fm mono am/fm with backup nicam st, backup 1010 nic_l nic_r (nic_l + nic_r)/2 (nic_l + nic_r)/2 fm mono am/fm with backup nicam mn, no backup 1100 nic_m1 nic_m1 nic_m1 fm mono am/fm no backup nicam dual, no backup 1101 nic_m1 nic_m2 nic_m1 nic_m2 fm mono am/fm no backup nicam st, no backup 1110 nic_l nic_r (nic_l + nic_r)/2 (nic_l + nic_r)/2 fm mono am/fm no backup table 22: scart matrix scart_mx stereo mono a mono b mono c left right left right left right left right 0 scart_l scart_r scart_l scart_r (scart_l + scart_r)/2 1 scart_r scart_l scart_r scart_l (scart_l + scart_r)/2 address: a4h type: r/w bit 7 bit 6 bit 5 bit 4 bit 3 bit 2 bit 1 bit 0 mute_stereo mute_all scart_language[1:0] hp_language[1:0] ls_language[1:0]
95/149 stv82x7 register list downmix_in_mode register description bit name reset function mute_stereo 0 mute outputs with stereo signal input mute_all 0 mute all outputs scart_ language[1:0] 00 select language for scart output hp_language[1:0] 00 select language for hpoutput ls_language[1:0] 00 select language for ls output 00: stereo 01: mono a 10: mono b 11: mono c address: a6h type: r/w bit 7 bit 6 bit 5 bit 4 bit 3 bit 2 bit 1 bit 0 0 0 0 0 lfe_in mix_in_mode[2:0] bit name reset function bits[7:4] 0000 reserved lfe_in 0 0: lfe signal is not inputed throught downmix block 1: lfe signal is inputed throught downmix block mix_in_mode[2:0] 010 see ta bl e 2 3 table 23: downmix in modes parameter coding (decimal format) parameter field lebel function 0 mode11 mode not used in stv82x7 1mode101/0 (c) 2 mode20 2/0 (l,r) 3 mode30 3/0 (l,r,c) 4 mode21 2/1 (l,r,s) 5 mode31 3/1 (l,r,c,s) 6 mode22 2/2 (l,r,ls,rs) 7 mode32 3/2 (l,r,c,ls,rs)
register list stv82x7 96/149 downmix_out_mode register description address:a7h type: r/w bit 7 bit 6 bit 5 bit 4 bit 3 bit 2 bit 1 bit 0 0 hp_mode[1:0] scart_mode[1:0] ls_out_mode[2:0] bit name reset function bit 7 0 reserved. hp_mode[1:0] 10 see ta bl e 2 4 scart_mode[1:0] 01 see ta bl e 2 4 ls_out_mode [2:0] 010 see ta bl e 2 5 table 24: downmix scart/hp modes parameter coding (decimal format) parameter field label function 0 mix_vcr_off switch off the vcr table setup 1 mix_vcr_prologic vcr table setup for tape outputs (for later decoding by a dolby prologic decoder - lt,rt) 2 mix_vcr_stereo vcr table setup for stereo and headphone listening (lo,ro) 3 mix_costom reserved table 25: downmix ls out modes parameter coding (decimal format) parameter field label function 0 mode20t 2/0 dolby surround (lt,rt) 1mode10 1/0 (c) 2 mode20 2/0 (l,r) 3 mode30 3/0 (l,r,c) 4 mode21 2/1 (l,r,s) 5 mode31 3/1 (l,r,c,s) 6 mode22 2/2 (l,r,ls,rs) 7 mode32 3/2 (l,r,c,ls,rs)
97/149 stv82x7 register list downmix_dual_mode register description downmix_config register description address: a8h type: r/w bit 7 bit 6 bit 5 bit 4 bit 3 bit 2 bit 1 bit 0 0 dual_on ls_dual_select[1:0] scart_du al_select[1:0] hp_dual_select[1:0] bit name reset function bit 7 0 reserved. dual_on 0 0: dual mode disable 1: dual mode enable ls_dual_select[1:0] 00 dual mono mode on ls output 00: ls dual stereo 00: ls dual left mono 10: ls dual right mono 11: ls dual mixed scart_dual_select[1:0] 00 dual mono mode on scart output 00: scart dual stereo 01: scart dual left mono 10: scart dual right mono 11: scart dual mixed hp_dual_select[1:0] 00 dual mono mode on hp output 00: hp dual stereo 01: hp dual left mono 10: hp dual right mono 11: hp dual mixed address: a9h type: r/w bit 7 bit 6 bit 5 bit 4 bit 3 bit 2 bit 1 bit 0 0 0 srnd_factor[1:0] center_fac tor[1:0] lr_upmix normalize bit name reset function bits[7:6] 00 srnd_factor [1:0] 00 00: -3db 01: -4.5db 10: -6db 11: -6db center_factor [1:0] 00 00: -3db 01: -4.5db 10: -6db 11: -4.5db
register list stv82x7 98/149 12.15 audio processing pro_logic2_control register description lr_upmix 0 0: disable upmixing 1: enable upmixing (dts specified) normalize 1 0: disable normalization 1: enable normalization address: aah type: r/w bit 7 bit 6 bit 5 bit 4 bit 3 bit 2 bit 1 bit 0 pl2_lfe pl2_output_downmix[2: 0] pl2_modes[2:0] pl2_active bit name reset function pl2_lfe 0 0: reset the lfe channel 1: bypass the lfe channel pl2_output_ downmix[2:0] 000 000: not applicable 001: not applicable 010: not applicable 011: 3/0 output mode (l,r,c) 100: 2/1 output mode (l,r,ls - phantom) 101: 3/1 output mode (l,r,c,ls) 110: 2/2 output mode (l,r,ls,rs - phantom) 111: 3/2 output mode (l,r,c,ls,rs) pl2_modes[2:0] 000 000: pro logic 1 emulation (forced if dpl version) 001: virtual (dpl2 version only) 010: music (dpl2 version only) 011: movie (standard) (dpl2 version only) 100: matrix (dpl2 version only) 101: custom (dpl2 version only) 110: not applicable (dpl2 version only) 111: not applicable (dpl2 version only) pl2_active 0 0: dolby prologic 2 is not active 1: dolby prologic 2 is active table 26: prologic ii decode mode configuration pl2 mode decode mode dimension center width auto- balance panorama surround coherence sur filtering 0 pro logic emulation 301002 1 virtual 301010 2 music xx0x11 bit name reset function
99/149 stv82x7 register list note: (x = user defined parameter) pcm_srnd_delay register description pcm_center_delay register description 3 movie/ standard 301000 4 matrix 300011 5 custom xxxxxx address: abh type: r/w bit 7 bit 6 bit 5 bit 4 bit 3 bit 2 bit 1 bit 0 0 0 0 snrd_delay[4:0] bit name reset function bits[7:5] 000 reserved. snrd_delay[4:0] 00000 surround channel delay range: 0 to 30 (in ms) address: ach type: r/w bit 7 bit 6 bit 5 bit 4 bit 3 bit 2 bit 1 bit 0 0000 center_delay[3:0] bit name reset function bits[7:4] 0000 reserved. center_delay[3:0] 0000 center channel delay range: 0 to 10 (in ms) table 26: prologic ii decode mode configuration (continued) pl2 mode decode mode dimension center width auto- balance panorama surround coherence sur filtering
register list stv82x7 100/149 pro_logic2_config register description see table 26: prologic ii decode mode configuration for programmation of these bits depending on the decode mode. pro_logic2_dimension register description address: adh type: r/w bit 7 bit 6 bit 5 bit 4 bit 3 bit 2 bit 1 bit 0 pl2_lfe 0 0 pl2_srnd_filter[1:0] pl2_rs_ polarity pl2_ pa n o r a m a pl2_ autobalance bit name reset function bits[7:6] 00 reserved. pl2_srnd_filtr[1:0] 00 00: 0: off 01: 1: shelf filter (for music and matrix modes) 10: 2: 7khz lp 11: 3: not applicable pl2_rs_polarity 0 0: rs polarity normal 1: rs polarity inverted pl2_panorama 0 0: panorama off 1: panorama on pl2_autobalance 0 0: autobalance off 1: autobalance on address: aeh type: r/w bit 7 bit 6 bit 5 bit 4 bit 3 bit 2 bit 1 bit 0 0 pl2_c_width 0 pl2_dimension bit name reset function bit 7 0 reserved. pl2_c_width[2:0] 000 000: 0, no spread = off 001: 20 010: 28 011: 36 100: 54 101: 62 110:69 111: 90, phantom bit 3 0 reserved.
101/149 stv82x7 register list see table 26: prologic ii decode mode configuration for programmation of these bits depending on the decode mode. pro_logic2_level register description noise_generator register description pl2_dimension[2:0] 000 000: -3, most surround 001: -2 010: -1 011: 0, neutral = off 100: 1 101: 2 110:3, most center 111: not applicable address: afh type: r/w bit 7 bit 6 bit 5 bit 4 bit 3 bit 2 bit 1 bit 0 pl2_level bit name reset function pl2_level[7:0] 00000000 input gain attenuation: 0000 0000: 0db 0000 0001: -0.5db ... 1111 1111: -127.5db address: b0h type: r/w bit 7 bit 6 bit 5 bit 4 bit 3 bit 2 bit 1 bit 0 10_db_ attenuate sright_ noise sleft_ noise sub_ noise center_ noise right_ noise left_ noise noise_on bit name reset function 10_db_attenuate 0 0: noise is outputed with full range 1: noise is outputed with a 10db attenuation sright_noise 0 1: generates noise on ls right surround output sleft_noise 0 1: generates noise on ls left surround output sub_noise 0 1: generates noise on ls subwoofer output center_noise 0 1: generates noise on ls center output right_noise 0 1: generates noise on ls right output bit name reset function
register list stv82x7 102/149 trusrnd_control register description trusrnd_input_gain register description left_noise 0 1: generates noise on ls left output noise_on 0 0: noise generation not active 1: noise generation is active address: b1h type: r/w bit 7 bit 6 bit 5 bit 4 bit 3 bit 2 bit 1 bit 0 0 trusrnd_ mono_srnd trusrnd_input_ mode[3:0] trusrnd_ mode trusrnd_ on bit name reset function bit 7 0 reserved. trusrnd_mono _srnd 0 0: left mono srnd mode 1: right mono srnd mode trusrnd_ input_ mode[3:0] 0000 0000: mono 0001: l/r stereo (srs mode) 0010: l/r/s (srs mode, prologic 1 process) 0011: l/r/ls/rs (srs mode) 0100: l/r/c (trusurround mode) 0101: l/r/c/s (trusurround m ode, prologic 1 process) 0110: l/r/c/ ls/rs (trusurround mode) 0111: lt/rt (trusurround mode) 1000: l/r/c/ls /rs (srs mode, bs digital broadcast) 1001: l/r/c/ls/r s (trusurround, prologic 2 music mode) trusrnd_mode 0 0: trusurround mode 1: bypass mode trusrnd_on 0 0: trusurround off 1: trusurround on address: b6h type: r/w bit 7 bit 6 bit 5 bit 4 bit 3 bit 2 bit 1 bit 0 trusrnd_input_gain[7:0] bit name reset function
103/149 stv82x7 register list trusrnd_hp_dcl register description trusrnd_dc_elevation register description bit name reset function trusrnd_input_ gain[7:0] 0000 0000 input gain attenuation: 0000 0000: 0db 0000 0001: -0.5db ... 1111 1111: -127.5db address: b7h type: r/w bit 7 bit 6 bit 5 bit 4 bit 3 bit 2 bit 1 bit 0 00000 dialog_ clarity_on headphone _on 0 bit name reset function bits[7:2] 00000 reserved. dialog_ clarity_on 0 0: dialog clarity off 1: dialog clarity on headphone_on 0 activate hp mode in trusurround xt: 0: hp mode off 1: hp mode on bit [0] 0 reserved. address: b8h type: r/w bit 7 bit 6 bit 5 bit 4 bit 3 bit 2 bit 1 bit 0 trusrnd_dc_elevation[7:0] bit name reset function trusrnd_dc_ elevation[7:0] 0000 1100 dialog calrity elevation: 0000 0000: 0db 0000 0001: -0.5db ... 1111 1111: -127.5db
register list stv82x7 104/149 trubass_ls_control register description trubass_ls_level register description trubass_hp_control register description address: bah type: r/w bit 7 bit 6 bit 5 bit 4 bit 3 bit 2 bit 1 bit 0 0 0 0 0 trubass_ls_size[2:0] trubass_ ls_on bit name reset function bits[7:3] 00000 reserved. trubass_ls_size[2:0] 011 000: lf response at 40hz 001: lf response at 60hz 010: lf response at 100hz 011: lf response at 150hz 100: lf response at 200hz 101: lf response at 250hz 110: lf response at 300hz 111: lf response at 400hz trubass_ls_on 0 0: ls trubass off 1: ls trubass on address: bbh type: r/w bit 7 bit 6 bit 5 bit 4 bit 3 bit 2 bit 1 bit 0 trubass_ls_level[7:0] bit name reset function trubass_ls_ level[7:0] 0000 1001 define the amount of srs trubass effect for ls outputs: 0000 0000: 0db 0000 0001: -0.5db ... 1111 1111: -127.5db address: bch type: r/w bit 7 bit 6 bit 5 bit 4 bit 3 bit 2 bit 1 bit 0 0 0 0 0 trubass_hp_size[2:0] trubass_hp _on
105/149 stv82x7 register list trubass_hp_level register description svc_ls_control register description bit name reset function bits[7:3] 00000 reserved. trubass_hp_ size[2:0] 011 000: lf response at 40hz 001: lf response at 60hz 010: lf response at 100hz 011: lf response at 150hz 100: lf response at 200hz 101: lf response at 250hz 110: lf response at 300hz 111: lf response at 400hz trubass_hp_on 0 0: hp trubass off 1: hp trubass on address: bdh type: r/w bit 7 bit 6 bit 5 bit 4 bit 3 bit 2 bit 1 bit 0 trubass_hp_level[7:0] bit name reset function trubass_hp_ level[7:0] 0000 1001 define the amount of srs trub ass effect for hp outputs: 0000 0000: 0db 0000 0001: -0.5db ... 1111 1111: -127.5db address: beh type: r/w bit 7 bit 6 bit 5 bit 4 bit 3 bit 2 bit 1 bit 0 0 0 0 0 svc_ls_input[1:0] svc_ls_amp svc_ls_on bit name reset function bits[7:4] 0000 reserved. svc_ls_input[1:0] 00 select input for peak detection in multichannel mode: 00: left/right 01: center 10: left/right/center svc_ls_amp 1 0: 0db amplification in auto-mode 1: +6db amplification in auto-mode svc_ls_on 0 0: manual mode(simple prescaler) 1: automatic mode
register list stv82x7 106/149 svc_ls_time_th register description address: bfh type: r/w bit 7 bit 6 bit 5 bit 4 bit 3 bit 2 bit 1 bit 0 svc_ls_time[2:0] svc _ls_threshold[4:0] bit name reset function svc_ls_time[2:0] 100 time constant for the amplificati on (6db gain step) in automatic mode: 000: 30ms 001: 200ms 010: 500ms 011: 1s 100: 16s 101: 32s 110: 64s 111: 128s svc_ls_ threshold[4:0] 11000 see ta bl e 2 7 and ta bl e 2 8 . table 27: gain (threshold fiel d) values in manual mode manual mode gain (db) 00101 +15.5 00100 +12 00011 +9.5 00010 +6 00001 +3.5 00000 0 11111 -2.5 11110 -6 11101 -8.5 11100 -12 11011 -14.5 11010 -18 11001 -20.5 11000 -24 10111 -26.5 10110 -30
107/149 stv82x7 register list svc_hp_control register description svc_hp_time_th register description table 28: threshold values in automatic mode automatic mode threshold (db) 11111 -2.5 11110 -6 11101 -8.5 11100 -12 11011 -14.5 11010 -18 11001 -20.5 11000 -24 10111 -26.5 10110 -30 address: c0h type: r/w bit 7 bit 6 bit 5 bit 4 bit 3 bit 2 bit 1 bit 0 000000 svc_ lhp_amp svc_hp_on bit name reset function bits[7:2] 000000 reserved. svc_lhp_amp 1 0: 0db amplification in auto-mode 1: +6db amplification in auto-mode svc_hp_on 0 0: manual mode (simple prescaler) 1: automatic mode address: c1h type: r/w bit 7 bit 6 bit 5 bit 4 bit 3 bit 2 bit 1 bit 0 svc_hp_time[2:0] svc _hp_threshold[4:0]
register list stv82x7 108/149 svc_ls_gain register description svc_hp_gain register description bit name reset function svc_hp_time[2:0] 100 time constant for the amp lification (6db gain step) in automatic mode: 000: 30ms 001: 200ms 010: 500ms 011: 1s 100: 16s 101: 32s 110: 64s 111: 128s svc_hp_ threshold[4:0] 11000 see ta bl e 2 7 and ta bl e 2 8 address: c2h type: r/w bit 7 bit 6 bit 5 bit 4 bit 3 bit 2 bit 1 bit 0 0 svc_ls_gain[6:0] bit name reset function bit 7 0 reserved. svc_ls_gain[6:0] 0000000 set ?make-up? gain applied at svc ls output: 0000000: +0db 0000001: +0.5db ... 0101110: +23db 0101111: +23.5db 0110000: +24db address: c3h type: r/w bit 7 bit 6 bit 5 bit 4 bit 3 bit 2 bit 1 bit 0 0 svc_hp_gain[6:0] bit name reset function bit 7 0 reserved.
109/149 stv82x7 register list stsrnd_control st widesurround control register stsrnd_freq st widesurround sound frequency svc_hp_gain[6:0] 0000000 set ?make-up? gain applied at svc hp output: 0000000: +0db 0000001: +0.5db ... 0101110: +23db 0101111: +23.5db 0110000: +24db address: c4h type: r/w bit 7 bit 6 bit 5 bit 4 bit 3 bit 2 bit 1 bit 0 00000 stsrnd_ stereo stsrnd_ mode stsrnd_on bit name reset function bits[7:3] 00000 reserved. stsrnd_stereo 0 st widesurround mode 0: st widesurround sound in mono mode (default) 1: st widesurround sound in stereo mode stsrnd_mode 0 st widesurround sound stereo mode 0: movie mode 1: music mode stsrnd_on 0 st widesurround sound enable 0: st widesurround sound is disabled 1: st widesurround sound is enabled address: c5h type: r/w bit 7 bit 6 bit 5 bit 4 bit 3 bit 2 bit 1 bit 0 0 0 stsrnd_bass[1:0] st srnd_medium[1:0] st srnd_treble[1:0] bit name reset function bits[7:6] 00 reserved. stsrnd_bass[1:0] 01 defines the bass fr equency effect for st widesurround sound. programmable values are listed in ta b l e 2 9 . stsrnd_medium[1:0] 01 defines the m edium frequency effect for st widesurround sound in movie or mono mode (no effect in music mode). programmable values are listed in ta b l e 2 9 . bit name reset function
register list stv82x7 110/149 stsrnd_level st widesurround gain register omnisurround_control register description stsrnd_treble[1:0] 01 defines the treb le frequency effect for st widesurround sound in movie or mono mode (no effect in music mode). programmable values are listed in ta b l e 2 9 . table 29: phase shifter center frequencies phase shifter center frequency bass_freq[1:0] medium_freq [1:0] treble_freq[1:0] 00 40 hz 202 hz 2 khz 01 (default) 90 hz 416 hz 4 khz 10 120 hz 500 hz 5 khz 11 160 hz 588 hz 6 khz address: c6h type: r/w bit 7 bit 6 bit 5 bit 4 bit 3 bit 2 bit 1 bit 0 stsrnd_gain[7:0] bit name reset function stsrnd_gain[7:0] 10000000 defines the st wides urround sound component gain in linear scale. level (%) level (%) 1000 0000 (default) 100% 0000 0100 3.1% 0111 1111 99.2% 0000 0011 2.3% 0111 1110 98.4% 0000 0010 1.6% 0111 1101 97.6% 0000 0001 0.8% ........ 0000 0000 0% address: c7h type: r/w bit 7 bit 6 bit 5 bit 4 bit 3 bit 2 bit 1 bit 0 lfe st_voice[1:0] front_ bypass omni_surnd_input_mod e[3:0] omnisrnd_on bit name reset function lfe 0 0: do not use lfe channel 1: generate lfe channel bit name reset function
111/149 stv82x7 register list st_dynamic_bass register description st_voice[1:0] 00 00: off 01: low 10: mid 11: high front_bypass 0 forced to 0 omnisrnd_ input_ mode[3:0] 0000 000: mono 001: l/r stereo 010: l/r/s 011: l/r/ls/rs 100: l/r/c 101: l/r/c/s 110: l/r/c/ls/rs 111: lt/rt (passive matrix) omnisurnd_on 0 0: omnisurround off 1: omnisurround on address: c8h type: r/w bit 7 bit 6 bit 5 bit 4 bit 3 bit 2 bit 1 bit 0 bass_level[4:0] bass_freq[1:0] dyn_bass_ on bit name reset function bass_level[4:0] 00000 set st dynamic bass effect level: 00000: +0d b 00001: +0.5 db ... 11101: +14.5 db 11110: +15 db 11111: +15.5 db bass_freq[1:0] 00 00: 100 hz cut-off frequency 01: 150 hz cut-off frequency 10: 200 hz cut-off frequency 11: reserved dyn_bass_on 0 0: st dynamic bass off 1: st dynamic bass on bit name reset function
register list stv82x7 112/149 12.16 5-band equalizer / b ass-treble for loudspeakers ls_eq_bt_ctrl loudspeakers equalizer control register eq_bandx_gain loudspeakers equalizer gain register for bandx address: c9h type: r/w bit 7 bit 6 bit 5 bit 4 bit 3 bit 2 bit 1 bit 0 000000 ls_eq_bt_ sw ls_eq_on bit name reset function bits[7:2] 000000 reserved. ls_eq_bt_sw 0 5-band equalizer or bass-teble selection 0: 5-band equalizer is selected for loudspeakers. 1: bass-treble is selected for loudspeakers. ls_eq_on 1 5-band equalizer/bass-treb le for loudspeakers enable 0: 5-band equalizer/bass-teble is disabled 1: 5-band equalizer/bass-teble is enabled (default) address: cah to ceh type: r/w bit 7 bit 6 bit 5 bit 4 bit 3 bit 2 bit 1 bit 0 eq_bandx bit name reset function eq_bandx[7:0] 0000 0000 bandx gain adjustment within a range from -12 db to +12 db in steps of 0.25 db. band1: 100 hz, band2: 330 hz, band3: 1 khz, band4: 3.3 khz, band5: 10 khz, see ta b l e 3 0 . table 30: loudspeakers equalizer/bass-treble gain values (and headphone bass-treble gain values) value gain g (db) 00110000 +12 00101111 +11.75 00101110 +11.50 ................ ..... 00000000 (default) 0 ................ ..... 10101110 -11.50
113/149 stv82x7 register list ls_bass_gain loudspeakers bass gain register ls_treble_gain loudspeakers treble gain register 12.17 headphone bass-treble hp_bt_control headphone bass-treble control register 10101111 -11.75 10110000 -12 address: cfh type: r/w bit 7 bit 6 bit 5 bit 4 bit 3 bit 2 bit 1 bit 0 ls_bass[7:0] bit name reset function ls_bass[7:0] 0000 0000 bass gain adjustment within a range from -12 db to +12 db in steps of 0.25 db. address: d0h type: r/w bit 7 bit 6 bit 5 bit 4 bit 3 bit 2 bit 1 bit 0 ls_treble bit name reset function ls_treble[7:0] 0000 0000 treble gain adjustment within a range from -12 db to +12 db in steps of 0.25 db. address: d1h type: r/w bit 7 bit 6 bit 5 bit 4 bit 3 bit 2 bit 1 bit 0 0000000hp_bt_on bit name reset function bits [7:1] 0000000 reserved. table 30: loudspeakers equalizer/bass-treble gain values (and headphone bass-treble gain values) value gain g (db)
register list stv82x7 114/149 hp_bass_gain headphone bass gain hp_treble_gain headphone treble gain output_bass_mngt register description hp_eq_on 1 bass-treble for headphone enable 0: bass-teble is disabled 1: bass-teble is enabled (default) address: d2h type: r/w bit 7 bit 6 bit 5 bit 4 bit 3 bit 2 bit 1 bit 0 hp_bass_gain[7:0] bit name reset function hp_bass_ gain[7:0] 00000000 gain tuning of head phone bass frequency gain may be programmed within a range between +12 db and -12 db in steps of 0.25 db. programmable values are listed in ta b l e 3 0 . address: d3h type: r/w bit 7 bit 6 bit 5 bit 4 bit 3 bit 2 bit 1 bit 0 hp_treble_gain[4:0] bit name reset function hp_treble_ gain[7:0] 00000000 gain tuning of headphone treble frequency gain may be programmed within a range between +12 db and -12 db in steps of 0.25 db. programmable values are listed in ta bl e 3 0 . address: d4h type: r/w bit 7 bit 6 bit 5 bit 4 bit 3 bit 2 bit 1 bit 0 bass_ manage_on 0 sub_active gain_ switch 0 ocfg_num[2:0] bit name reset function
115/149 stv82x7 register list ls_loudness register description bit name reset function bass_manage_on 1 0: bassmanagement disables 1: bassmanagement enabled bit 6 0 reserved. sub_active 0 0: subwoofer output is disabled (only in config 2,3,4) 1: subwoofer output is active gain_ switch 0 0: level adjustment on 1: level adjustment off ocfg_num 000 000: bass management configuration 0 (refer to figure 13 ) 001: bass management conf iguration 1 (refer to figure 14 ) 010: bass management conf iguration 2 (refer to figure 15 ) 011: bass management conf iguration 3 (refer to figure 16 ) 100: bass management conf iguration 4 (refer to figure 17 ) bit 3 0 reserved. address: d5h type: r/w bit 7 bit 6 bit 5 bit 4 bit 3 bit 2 bit 1 bit 0 0 ls_loud_threshold[2:0] ls_loud_gain_hr[2:0] ls_ loud_on bit name reset function bit 7 0 reserved. ls_loud_ threshold[2:0] 000 define the volume threshold level since which loudness effect is applied : 000: 0db 001: -6db 010: -12db 011: -18db 100: -24db 101: -32db 110: -36db 111: -42db ls_loud_gain_ hr[2:0] 010 define the amount of treble added by loudness effect: 000: 0db 001: 3db 010: 6db 011: 9db 100: 12db 101: 15db 110: 18db ls_loud_on 0 0: loudness is not active on ls output 1: loudness is active on ls output
register list stv82x7 116/149 hp_loudness register description 12.18 volume volume_modes set the volume modes address: d6h type: r/w bit 7 bit 6 bit 5 bit 4 bit 3 bit 2 bit 1 bit 0 0 hp_loud_threshold[2: 0] hp_loud_gain_hr[2:0] hp_ loud_on bit name reset function bit 7 0 reserved. hp_loud_ threshold[2:0] 000 define the volume threshold level since which loudness effect is applied : 000: 0db 001: -6db 010: -12db 011: -18db 100: -24db 101: -32db 110: -36db 111: -42db hp_loud_gain_ hr[2:0] 010 define the amount of treble added by loudness effect: 000: 0db 001: 3db 010: 6db 011: 9db 100: 12db 101: 15db 110: 18db hp_loud_on 0 0: loudness is not active on hp output 1: loudness is active on hp output address: d7h type: r/w bit 7 bit 6 bit 5 bit 4 bit 3 bit 2 bit 1 bit 0 anticlip_hp _vol_clamp anticlip_ls _vol_clamp 00 scart_ volume_ mode srnd_ volume_ mode hp_ volume_ mode ls_ volume_ mode bit name reset function anticlip_hp_vol _clamp 1 the output level is clamped depending on the hp bass-treble value to avoid any possible signal clipping on hp output. 0: volume clamp on hp output is not active 1: volume clamp on hp output is active
117/149 stv82x7 register list ls_l_volume_msb register description ls_l_volume_lsb register description anticlip_ls_vol _clamp 1 the output level is clamped depending on the ls equalizer or ls bass-treble value to avoid any possible signal clipping on ls output. 0: volume clamp on ls output is not active 1: volume clamp on ls output is active bits[5:4] 00 reserved. scart_volume_ mode 0 volume mode for scart output: 0: independant 1: differential srnd_volume_ mode 1 volume mode for headphone output: 0: independant 1: differential hp_volume_ mode 1 volume mode for surround output: 0: independant 1: differential ls_volume_ mode 1 volume mode for ls output: 0: independant 1: differential address: d8h type: r/w bit 7 bit 6 bit 5 bit 4 bit 3 bit 2 bit 1 bit 0 ls_l_volume_msb[7:0] bit name reset function ls_l_volume_ msb[7:0] 1001 1000 ls 10 bits volume left channel 8 msb in independent mode or ls 10 bits volume left and right channels 8 msb in differential mode. see figure 19: volume control on page 36 for range values. address: d9h type: r/w bit 7 bit 6 bit 5 bit 4 bit 3 bit 2 bit 1 bit 0 000000ls _l_volume_lsb[1:0] bit name reset function bits[7:2] 000000 reserved. bit name reset function
register list stv82x7 118/149 the volume value is defined by the following formula: vol (db) = decimal value of ls_l_volume_msb x 0.5 + decimal value of ls_l_volume_lsb x 0.125 - 116 db (each step is 0.125 db). ls_r_volume_msb register description ls_r_volume_lsb register description ls_c_volume_msb register description ls_l_volume_ lsb[1:0] 00 ls 10 bits volume left channel 2 lsb in independent mode or ls 10 bits volume left and right channels 2 lsb in differential mode. see figure 19: volume control on page 36 for range values. address: dah type: r/w bit 7 bit 6 bit 5 bit 4 bit 3 bit 2 bit 1 bit 0 ls_r_volume_msb[7:0] bit name reset function ls_r_volume_ msb[7:0] 0000000 0 ls 10 bits volume right channel 8 msb in i ndependent mode or ls 10 bits left and right balance 8 msb in differential mode. see figure 19: volume control on page 36 or figure 20: differential balance on page 37 . address: dbh type: r/w bit 7 bit 6 bit 5 bit 4 bit 3 bit 2 bit 1 bit 0 000000ls_r_volume_lsb[1:0] bit name reset function bits[7:2] 000000 reserved. ls_r_volume_ lsb[1:0] 00 ls 10 bits volume right channel 2 lsb in independent mode or ls 10 bits left and right balance 2 lsb in differential mode. see figure 19: volume control on page 36 or figure 20: differential balance on page 37 . address: dch type: r/w bit 7 bit 6 bit 5 bit 4 bit 3 bit 2 bit 1 bit 0 ls_c_volume_msb[7:0] bit name reset function
119/149 stv82x7 register list ls_c_volume_lsb register description the volume value is defined by the following formula: vol (db) = decimal value of ls_c_volume_msb x 0.5 + decimal value of ls_c_volume_lsb x 0.125 - 116 db (each step is 0.125 db). ls_sub_volume_msb register description bit name reset function ls_c_volume_ msb[7:0] 1001 1000 ls 10 bits volume center channel 8 msb see figure 19: volume control on page 36 for range values. address: ddh type: r/w bit 7 bit 6 bit 5 bit 4 bit 3 bit 2 bit 1 bit 0 000000ls_c_volume_lsb[1:0] bit name reset function bits[7:2] 000000 reserved. ls_c_volume_ lsb[1:0] 00 ls 10 bits volume center channel 2 lsb see figure 19: volume control on page 36 for range values. address: deh type: r/w bit 7 bit 6 bit 5 bit 4 bit 3 bit 2 bit 1 bit 0 ls_sub_volume_msb[7:0] bit name reset function ls_sub_ volume_msb[7:0] 1001 1000 ls 10 bits volume subwoofer channel 8 msb see figure 19: volume control on page 36 for range values.
register list stv82x7 120/149 ls_sub_volume_lsb register description the volume value is defined by the following formula: vol (db) = decimal value of ls_sub_volume_msb x 0.5 + decimal value of ls_sub_volume_lsb x 0.125 - 116 db (each step is 0.125 db). ls_sl_volume_msb register description address: dfh type: r/w bit 7 bit 6 bit 5 bit 4 bit 3 bit 2 bit 1 bit 0 000000ls_sub_volume_lsb[1:0] bit name reset function bits[7:2] 000000 reserved. ls_sub_ volume_lsb[1:0] 00 ls 10 bits volume subwoofer channel 2 lsb see figure 19: volume control on page 36 for range values. address: e0h type: r/w bit 7 bit 6 bit 5 bit 4 bit 3 bit 2 bit 1 bit 0 ls_sl_volume_msb[7:0] bit name reset function ls_sl_volume_ msb[7:0] 1001 1000 ls 10 bits volume left surround channel 8 msb in independent mode or ls 10 bits left and right surround volume 8 msb in differential mode. see figure 19: volume control on page 36 or figure 20: differential balance on page 37 .
121/149 stv82x7 register list ls_sl_volume_lsb register description the volume value is defined by the following formula: vol (db) = decimal value of ls_sl_volume_msb x 0.5 + decimal value of ls_sl_volume_lsb x 0.125 - 116 db (each step is 0.125 db). ls_sr_volume_msb register description ls_sr_volume_lsb register description address: e1h type: r/w bit 7 bit 6 bit 5 bit 4 bit 3 bit 2 bit 1 bit 0 000000ls_ls_volume_lsb[1:0] bit name reset function bits[7:2] 000000 reserved. ls_ls_volume_ lsb[1:0] 00 ls 10 bits volume left surround channel 2 lsb in independent mode or ls 10 bits left and right surround volume 2 lsb in differential mode. see figure 19: volume control on page 36 or figure 20: differential balance on page 37 . address: e2h type: r/w bit 7 bit 6 bit 5 bit 4 bit 3 bit 2 bit 1 bit 0 ls_sr_volume_msb[7:0] bit name reset function ls_sr_volume_ msb[7:0] 00000000 ls 10 bits volume right channel 8 msb in independent mode or ls 10 bits surround left and right balance 8 msb in differential mode. see figure 19: volume control on page 36 or figure 20: differential balance on page 37 . address: e3h type: r/w bit 7 bit 6 bit 5 bit 4 bit 3 bit 2 bit 1 bit 0 000000ls_sr_volume_lsb[1:0] bit name reset function bits[7:2] 000000 reserved.
register list stv82x7 122/149 the volume value is defined by the following formula: vol (db) = decimal value of ls_sr_volume_msb x 0.5 + decimal value of ls_sr_volume_lsb x 0.125 - 116 db (each step is 0.125 db). ls_master_volume_msb register description ls_master_volume_lsb register description the volume value is defined by the following formula: vol (db) = decimal value of ls_master_volume_msb x 0.5 + decimal value of ls_master_volume_lsb x 0.125 - 116 db (each step is 0.125 db). ls_sr_volume_ lsb[1:0] 00 ls 10 bits volume right channel 8 msb in independent mode or ls 10 bits surround left and right balance 2 lsb in differential mode. see figure 19: volume control on page 36 or figure 20: differential balance on page 37 . address: e4h type: r/w bit 7 bit 6 bit 5 bit 4 bit 3 bit 2 bit 1 bit 0 ls_master_volume_msb[7:0] bit name reset function ls_master_ volume_msb[7:0] 1110100 0 ls 10 bits volume master channel 8 msb see figure 19: volume control on page 36 for range values. address: e5h type: r/w bit 7 bit 6 bit 5 bit 4 bit 3 bit 2 bit 1 bit 0 000000 ls_master_volume _lsb[1:0] bit name reset function bits[7:2] 000000 reserved. ls_master_ volume_lsb[1:0] 00 ls 10 bits volume master channel 2 lsb see figure 19: volume control on page 36 for range values. bit name reset function
123/149 stv82x7 register list hp_l_volume_msb register description hp_l_volume_lsb register description the volume value is defined by the following formula: vol (db) = decimal value of hp_l_volume_msb x 0.5 + decimal value of hp_l_volume_lsb x 0.125 - 116 db (each step is 0.125 db). hp_r_volume_msb register description address: e6h type: r/w bit 7 bit 6 bit 5 bit 4 bit 3 bit 2 bit 1 bit 0 hp_l_volume_msb[7:0] bit name reset function hp_l_volume_ msb[7:0] 1001 1000 hp 10 bits volume left channel 8 msb in independent mode or hp 10 bits left and right volume 8 msb in differential mode. see figure 19: volume control on page 36 or figure 20: differential balance on page 37 . address: e7h type: r/w bit 7 bit 6 bit 5 bit 4 bit 3 bit 2 bit 1 bit 0 000000hp _l_volume_lsb[1:0] bit name reset function bits[7:2] 000000 reserved. hp_l_volume_ lsb[1:0] 00 hp 10 bits volume left channel 2 lsb in independent mode or hp 10 bits left and right volume 2 lsb in differential mode. see figure 19: volume control on page 36 or figure 20: differential balance on page 37 . address: e8h type: r/w bit 7 bit 6 bit 5 bit 4 bit 3 bit 2 bit 1 bit 0 hp_r_volume_msb[7:0] bit name reset function hp_r_volume_ msb[7:0] 0000000 0 hp 10 bits volume right channel 8 msb in i ndependent mode or hp 10 bits left and right balance 8 msb in differential mode. see figure 19: volume control on page 36 or figure 20: differential balance on page 37 .
register list stv82x7 124/149 hp_r_volume_lsb register description scart_l_volume_msb register description address: e9h type: r/w bit 7 bit 6 bit 5 bit 4 bit 3 bit 2 bit 1 bit 0 000000hp_r_volume_lsb[1:0] bit name reset function bits[7:2] 000000 reserved. hp_r_volume_ lsb[1:0] 00 hp 10 bits volume right channel 2 lsb in i ndependent mode or hp 10 bits left and right balance 2lsb in differential mode. see figure 19: volume control on page 36 or figure 20: differential balance on page 37 . address: eah type: r/w bit 7 bit 6 bit 5 bit 4 bit 3 bit 2 bit 1 bit 0 scart_l_volume_msb[7:0] bit name reset function scart_l_ volume_msb[7:0] 1101110 1 scart 10 bits volume left channel 8 msb in independent mode or scart10 bits left and right volume 8 msb in differential mode. see figure 19: volume control on page 36 or figure 20: differential balance on page 37 .
125/149 stv82x7 register list scart_l_volume_lsb register description the volume value is defined by the following formula: vol (db) = decimal value of scart_l_volume_msb x 0. 5 + decimal value of scart_l_volume_lsb x 0.125 - 116 db (each step is 0.125 db). scart_r_volume_msb register description scart_r_volume_lsb register description address: ebh type: r/w bit 7 bit 6 bit 5 bit 4 bit 3 bit 2 bit 1 bit 0 000000scart _l_volume_lsb[1:0] bit name reset function bits[7:2] 000000 reserved. scart_l_ volume_lsb[1:0] 00 scart 10 bits volume left channel 2 lsb in independent mode or scart 10 bits left and right volume 2 lsb in differential mode. see figure 19: volume control on page 36 or figure 20: differential balance on page 37 . address: ech type: r/w bit 7 bit 6 bit 5 bit 4 bit 3 bit 2 bit 1 bit 0 scart_r_volume_msb[7:0] bit name reset function scart_r_ volume_msb[7:0] 11011101 scart 10 bits volume right channel 8 msb in independent mode or scart10 bits left and right balance 8 msb in differential mode. see figure 19: volume control on page 36 or figure 20: differential balance on page 37 . address: edh type: r/w bit 7 bit 6 bit 5 bit 4 bit 3 bit 2 bit 1 bit 0 000000scart_r_volume_lsb[1:0] bit name reset function bits[7:2] 000000 reserved.
register list stv82x7 126/149 12.19 beeper beeper_on beeper activation register beeper_mode beeper control register scart_r_ volume_lsb[1:0] 00 scart 10 bits volume right channel 2 lsb in independent mode or scart10 bits left and right balance 2 lsb in differential mode. see figure 19: volume control on page 36 or figure 20: differential balance on page 37 . address: eeh type: r/w bit 7 bit 6 bit 5 bit 4 bit 3 bit 2 bit 1 bit 0 0000000 beeper_on bit name reset function bits [7:1] 0000000 reserved. beeper_on 0 beeper enable 0: beeper muted (default.) 1: beeper enabled. address: efh type: r/w bit 7 bit 6 bit 5 bit 4 bit 3 bit 2 bit 1 bit 0 0 0 0 beeper_duration beeper_ pulse beeper_path bit name reset function bits [7:5] 000 reserved. beeper_ duration [4:3] 00 define beeper duration when set to pulse mode. beeper_pulse 0 set beeper pulse mode 0: pulse mode selected. 1: continuous mode selected. beeper_path [1:0] 11 set the output channels when beeper is active 00: no channels. 01: loudspeakers only. 10: headphone only. 11: loudspeakers and headphone selected. bit name reset function
127/149 stv82x7 register list beeper_freq_vol beeper frequency and volume settings register 12.20 mute mute_digital register description address: f0h type: r/w bit 7 bit 6 bit 5 bit 4 bit 3 bit 2 bit 1 bit 0 beep_freq[2:0] beep_vol[4:0] bit name reset function beep_freq[2:0] 011 defines the frequency of the beeper tone from 62.5 hz to 8 khz in octaves 000: 62.5 hz 100: 1 khz 001: 125 hz 101: 2 khz 010: 250 hz 110: 4 khz 011: 500 hz (default) 111: 8 khz beep_vol[4:0] 10000 defines the beeper volume from 0 to -93 db in steps of 3 db. 11111: 0 db (1 v rms )... 11110: -3 db 00011: -84 db 11101: -6 db 00010: -87 db ... 00001: -90 db 10000: -48 db (default) 00000: -93 db address: f1h type: r/w bit 7 bit 6 bit 5 bit 4 bit 3 bit 2 bit 1 bit 0 autostd_ mute_on 00 scart_ d_mute srnd_hp_d_ mute sub_ d_mute c_ d_mute ls_ d_mute bit name reset function autostd_mute_on 1 0: autostandard can not mute outputs 1: autostandard can mute out puts when no signal is detected bit s[6:5] 00 scart_d_mute 1 scart left/right digital soft mute 0: signal un-muted 1: signal muted srnd_hp_d_mute 1 ls surround/hp left/right digital soft mute 0: signal un-muted 1: signal muted sub_d_mute 1 ls subwoofer digital soft mute 0: signal un-muted 1: signal muted
register list stv82x7 128/149 12.21 s/pdif s/pdif_out_config s/pdif output configuration register 12.22 headphone configuration headphone_config headphone configuration register c_d_mute 1 ls center digital soft mute 0: signal un-muted 1: signal muted ls_d_mute 1 ls left/right digital soft mute 0: signal un-muted 1: signal muted address: f2h type: r/w bit 7 bit 6 bit 5 bit 4 bit 3 bit 2 bit 1 bit 0 00000 s/pdif_out_ mute s/pdif_out_select bit name reset function bits [7:3] 00000 reserved. s/pdif_out_ mute 1 s/pdif output mute: 0: s/pdif output unmuted. 1: s/pdif output muted. s/pdif_out_ select[1:0] 00 s/pdif output channel selection: 00: output scart signal 01: output ls l-r signal 10: output c/sub signal 11: ouptut sur/hp signal address: f3h type: r/w bit 7 bit 6 bit 5 bit 4 bit 3 bit 2 bit 1 bit 0 0000hp_force hp_ls_ mute hp_det_ active hp_ detected bit name reset function bits [7:4] 0000 reserved. bit name reset function
129/149 stv82x7 register list 12.23 dac control dac_control dac control register hp_force 0 1: force output of t he hp signal (bypass surround) hp_ls_mute 0 0: when hp is detected and active, ls are not muted 1: when hp is detected and active, ls are muted hp_det_active 1 0: hp detection is not active 1: hp detection is active, when hp detected, surround signal is bypassed and hp signal is output on hp hp_detected 0 1: when a signal is detected on hp_det pin (status) address: f4h type: r/w bit 7 bit 6 bit 5 bit 4 bit 3 bit 2 bit 1 bit 0 0 0 s/pdif_mux dac_scart_ mute dac_shp_ mute dac_csub_ mute dac_lslr_ mute power_up bit name reset function bits [7:6] 00 reserved. s/pdif_mux 0 redirect external or internal s/ pdif source to s/pdif output : 0: internal s/pdif 1: external s/pdif dac_scart_mute 1 scart left/right analog soft mute 0: signal un-muted 1: signal muted dac_shp_mute 1 surround/hp left/right analog soft mute 0: signal un-muted 1: signal muted dac_csub_mute 1 center/subwoofer analog soft mute 0: signal un-muted 1: signal muted dac_lslr_mute 1 ls left/right analog soft mute 0: signal un-muted 1: signal muted power_up 10: dacs power off 1: power on bit name reset function
register list stv82x7 130/149 spdif_channel_status register description 12.24 autostandard co efficients settings autostd_coeff_ctrl register description address: f9h type: r/w bit 7 bit 6 bit 5 bit 4 bit 3 bit 2 bit 1 bit 0 channel_status emphasis copyright non_audio pro_con bit name reset function channel_status[7:6] 00 channel status mode: 00: mode zero other values: reserved emphasis[5:3] 000 emphasis: accord ing to iec60958 specification copyright 0 copyright: 0: asserted 1: not asserted non_audio 0 non-audio: 0: linear pcm 1: non-audio signal pro_con 0 select professional or consumer modes: 0: consumer 1: professional address: fbh type: r/w bit 7 bit 6 bit 5 bit 4 bit 3 bit 2 bit 1 bit 0 000000 autostd_coeff_ ctrl[1:0] bit name reset function bits [7:2] 000000 reserved. autostd_coeff _ctrl[1:0] 01 control the demod filter coeff table settings 01: init coeffs to rom values 10: update coeffs with i2c value
131/149 stv82x7 register list autostd_coeff_index_msb register description autostd_coeff_index_lsb register description autostd_coeff_value register description address: fch type: r/w bit 7 bit 6 bit 5 bit 4 bit 3 bit 2 bit 1 bit 0 0000000 autostd_ coeff_ index_msb bit name reset function bits [7:2] 0000000 reserved. autostd_coeff _index_msb 0 fir coefficients table index (msb) address: fdh type: r/w bit 7 bit 6 bit 5 bit 4 bit 3 bit 2 bit 1 bit 0 autostd_coeff_index_lsb[7:0] bit name reset function autostd_coeff _index_lsb[7:0] 0000 0000 fir coefficients table index (lsb) address: feh type: r/w bit 7 bit 6 bit 5 bit 4 bit 3 bit 2 bit 1 bit 0 autostd_coeff_value[7:0] bit name reset function autostd_coeff _value[7:0] 0000 0000 reserved
electrical characteristics stv82x7 132/149 13 electrical characteristics test conditions: t oper = 25 c, v cc_h = 8 v, v xx_18 = 1.8v, v xx_33 = 3.3v, crystal at 27mhz, default register values for synthesizer, otherwise specified. 13.1 absolute maximum ratings 13.2 thermal data 13.3 power supply data symbol parameter value units v xx_18 analog and digital 1.8 v supply voltage (v cc18_clk1 , v cc18_clk2 , v cc18_if , v dd18 , v dd18_conv , v dd18_adc ) 2.5 v v xx_33 analog and digital 3.3 v supply voltage (v cc33_sc , v cc33_ls , v dd33_io1 , v dd33_io2 , v dd33_conv , v cc_niso ) 4.0 v hv cc analog supply high voltage (v cc_h ) 8.8 v v esd capacitor 100 pf discharged via 1.5 k ? serial resistor (human body model) 4 kv t oper operating ambient temperature 0, +70 c t stg storage temperature -55 to +150 c symbol parameter value units r thja junction-to-ambient thermal resistance 42 c/w symbol parameter min. typ. max. units v xx_18 analog and digital 1.8 v supply voltage (v cc18_clk1 , v cc18_clk2 , v cc18_if , v dd18 , v dd18_conv , v dd18_adc ) 1.70 1.80 1.90 v v xx_33 analog and digital 3.3 v supply voltage (v cc33_sc , v cc33_ls , v dd33_io1 , v dd33_io2 , v dd33_conv , v cc_niso ) 3.13 3.30 3.47 v hv cc analog supply high voltage (v cc_h ) 7.6 8.0 8.4 v i vdd18 current consumption for digital 1.8 v supply (v cc18_clk2 , v dd18 , v dd18_conv , v dd18_adc ) 210 ma i vdd33 current consumption for digital 3.3 v supply ( v dd33_io1 , v dd33_io2 ) 10 ma i vcc18 current consumption for analog 1.8 v supply (v cc18_clk1 , v cc18_if ) 50 ma i vcc33 current consumption for analog 3.3 v supply (v cc33_sc , v cc33_ls , v dd33_conv , v cc_niso ) 65 ma i vcc_h current consumption for analog supply high voltage (8 v) 4 ma p dtot total power dissipation 750 mw
133/149 stv82x7 electrical characteristics 13.4 crystal oscillator 13.5 analog sound if signal symbol parameter min. typ. max. units f p crystal series resonance frequency (at c 21 = c22 = 27 pf load capacitor) 27 mhz df/f p frequency tolerance at 25 c -30 +30 ppm df/f t frequency stability versus temperature within a range from 0 to 70 c -30 +30 ppm c1 motional capacitor 15 ff r s serial resistance 30 ? c s shunt capacitance 7pf symbol parameter test condi tions min. typ. max. units band sif sif frequency flatness agc_err at 0, frequency range from 4 to 7mhz 0.6 3 db r insif sif input resistance 60 72 85 k ? dc insif sif input dc level 0.9 v c insif sif input capacitance 3 pf fm carrier vsif fm sif input sensitivity snr 40db rms unweighted, 20hz-15khz, standard b/g 27 khz fm deviation,1khz 350 v pp dev fm fm maximum deviation fm50k (standard) signal lost, dk mode, fm prescale at 0 15 50 115 khz fm200k 200 320 fm350k 350 560 fm500k 500 700 dfsif fm sif carrier accuracy for fm standard (fm50k) 1 5 khz shifted standard (fm50k with dco compensation) 120 khz r fm/qpsk carrier ratio fm/qpsk for nicam system nicam mute, far_mode is active, standard bg, 100mv pp level for fm carrier 40 db am carrier vsif am sif input sensitivity unmodulated, -3 db at output amplitude agc_err at 21d standard l, 54% am depth, 1khz 19 mv pp vmax_sif am sif maximum input level unmodulated, thd at 1%, 54% am depth, agc_err at 0 1.3 v pp dev am modulation depth for am thd at 1% 0 100 %
electrical characteristics stv82x7 134/149 13.6 sif to i2s output path characteristics test conditions: sif amplitude = 100mvpp, otherwise specified, i2s output. 13.7 scart to scart anal og path characteristics test conditions: rload max = 10 k ? , cload max = 330pf, mono_in voltage = 0.5 v rms dfsif am sif carrier accuracy for am 1 5 khz r am/qpsk am/qpsk carrier ratio for nicam system nicam mute, 100mv pp am carrier 36 db agc agc step if agc step 1.4 1.5 1.6 db agc dyn relative maximum gain to step 0 valid from step 21 to step 31 29 30 31 db symbol parameter test conditions min. typ. max. units fm demodulation band fm frequency response 20hz - 15khz 0.7 db snr fm signal to noise rms unweighted, 20hz-15khz, standard b/g 27 khz fm deviation,1khz 66 db thd fm total harmonic distortion 0.05 % sep fm stereo channel separation standard b/g stereo a2, 27 khz fm deviation, 1 khz 48 db nicam demodulation band nic frequency response 20hz - 15khz 0.2 db snr nic signal to noise 200hz - 60dbfs, trap filter 200 hz rms unweighted, 20hz-15khz, standard b/g mono nicam,1 khz 74 db thd nic total harmonic distortion 0.04 % am demodulation band am frequency response 20 hz - 15 khz 0.5 db snr am signal to noise rms unweighted 2 0hz-15 khz, standard l, 54% am depth, 1 khz agc: 13d 60 db thd am total harmonic distortion 0.4 % symbol parameter test cond itions min. typ. max. units analog-to-analog stereo and mono r inscart scart input resistance 29 34 39 k ? r outscart output resistance for scarts 40 75 ? vdc inscart scart input dc level 1.57 v vdc outscart scart output dc level 3.64 v symbol parameter test condi tions min. typ. max. units
135/149 stv82x7 electrical characteristics 13.8 scart and mono in to i2s path characteristics test conditions: sampling frequency = 32khz, maximum mono_in voltage = 0.5 v rms . 13.9 i2s to ls/hp/sub/c path characteristics test conditions: sampling frequency = 32khz, l load = 100 h, c load = 33nf, r load = 30k ? . clip scart clipping scart clipping input level from scart input at 1 khz 1% thd 2.0 v rms clipping input level from mono_in input 0.5 v rms thd scart thd scart thd from scart input 1 v rms , at 1 khz 0.02 0.05 % thd from mono_in input 0.25 v rms , at 1 khz 0.02 0.05 % snr scart signal to noise ratio scart input 1 v rms, 20 hz to 20 khz bandwidth, rms unweighted 82 db mono_in input 0.25 v rms, 20 hz to 20 khz bandwidth, rms unweighted 76 db band scart frequency flatness scart input 20 hz to 20 khz -0.5 0.5 db mono_in input 20 hz to 20 khz 11.5 12 12.5 db xtalk l/r left/right crosstalk 1v rms @ 1 khz on ref signal, the other one grounded 80 90 db xtalk in audio crosstalk from input channel n to input channel m 1v rms @ 1 khz on ref signal, all other inputs grounded 80 90 db xtalk out audio crosstalk from output channel n to output channel m 1v rms @ 1 khz on reference output, signal on a single input, all other inputs grounded 80 90 db symbol parameter test conditions min. typ. max. units thd adc thd adc thd from scart input v in = 2 v rms at 1 khz 0.006 0.05 % thd from mono_in input v in = 0.5 v rms at 1 khz 0.006 0.05 % snr adc signal to noise ratio 20 to 15 khz bandwidth, rms unweighted v in = 200 mv rms scart input 62 db band adc frequency flatness 20 hz to 15 khz 0.5 db xtalk adc left right crosstalk at 1 khz, v in = 1 v rms 95 db symbol parameter test conditions min. typ. max. units r outdac output resistance for main outputs ls_l, ls_r, ls_sub, ls_c, hp_lss_r and hp_lss_l pins 90 140 ? vdc outdac main output dc level 1.54 v symbol parameter test cond itions min. typ. max. units
electrical characteristics stv82x7 136/149 13.10 i2s to scart path characteristics test conditions: sampling frequency = 32khz, c load = 33nf on dac scart pins, dac scart prescale at -5.5db . 13.11 mute characteristics 13.12 digital i/os characteristics thd dac total harmonic distortion 90% full-scale range at 1 khz 0.06 % snr dac signal to noise ratio 20 to 15 khz bandwidth, rms unweighted, at -20db full range 75 db v outampdac main output amplitude 100% full-scale range at 1 khz 900 mv rms xtalk dac left right crosstalk at 1 khz, -20dbfs 87 db symbol parameter test conditions min. typ. max. units thd dacscart total harmonic distortion 90% full-scale range at 1 khz 0.08 0.12 % snr dacscart signal to noise ratio 20 hz to 15 khz bandwidth unweighted, -20db full range 73 db v odacscart main output amplitude 100% full-scale range at 1 khz 2 v rms xtalk dacscart left right crosstalk at 1 khz, -20 dbfs 80 db symbol parameter test conditions min. typ. max. units mute dac dac mute analog i2s to dac at 1 khz 90 db mute scart scart mute 2v rms @ 1 khz on ref signal, all other inputs grounded 81 db symbol parameter test conditions min. typ. max. units v il low level input voltage except sda, scl and clk_sel, 3.3v power supply 0.5 v v ih high level input voltage except sda, scl and clk_sel, 3.3v power supply 2.0 v i in input current 1 a vil clk_sel clk_sel low level input voltage 1.8v power supply 0.3 v vih clk_sel clk_sel high level input voltage 1.8v power supply 1.2 v v ol low level output voltage s/pdif_out, irq, bus_exp 0.3 v v oh high level output voltage s/pdif_out, irq, bus_exp 3.0 v symbol parameter test conditions min. typ. max. units
137/149 stv82x7 electrical characteristics 13.13 i2c bus characteristics symbol parameter test conditions min. typ max. unit scl v il low level input voltage -0.3 1.5 v v ih high level input voltage 2.3 5.5 v i il input leakage current v in = 0 to 5.0 v -10 10 a f scl clock frequency 400 khz t r input rise time 1 v to 2 v 300 ns t f input fall time 2 v to 1 v 300 ns c i input capacitance 10 pf sda v il low level input voltage -0.3 1.5 v v ih high level input voltage 2.3 5.5 v i il input leakage current v in = 0 to 5.0 v -10 10 a t r input rise time 1 v to 2 v 300 ns t f input fall time 2 v to 1 v 300 ns v ol low level output voltage i ol = 3 ma 0.4 v t f output fall time 2 v to 1 v 250 ns c l load capacitance 400 pf c i input capacitance 10 pf i2c timing t low clock low period 1.3 s t high clock high period 0.6 s t su,dat data set-up time 100 ns t hd,dat data hold time 0 900 ns t su,sto set-up time from clock high to stop 0.6 s t buf start set-up time following a stop 1.3 s t hd,sta start hold time 0.6 s t su,sta start set-up time following clock low to high transition 0.6 s
electrical characteristics stv82x7 138/149 13.14 i 2 s bus interface see timing for i 2 s on page 41 . figure 28: i2c bus timing symbol parameter test conditions min. typ max. unit i2s input v i2s_il input i 2 s low level voltage 0.8 v v i2s_ih input i 2 s high level voltage 2v z i2s input i 2 s impedance 5pf i i2s_leak i 2 s leakage current -1 1 a t i2s_su i 2 s input setup time before rising edge of clock see figure 29 30 ns t i2s_ho i 2 s input hold time after rising edge of clock see figure 29 100 ns f i2s_lr0 i 2 s left right strobe input frequency (i 2 s_data0 only) deviation =+-250ppm 8 48 khz f i2s_scl0 i 2 s serial clock input frequency (i 2 s_data0 only) 0.512 3.072 mhz f i2s_lr i 2 s left right strobe input frequency (i 2 s_data0,1 ,2) deviation =+-250ppm 32 48 khz f i2s_scl i 2 s serial clock input frequency (i 2 s_data0 ,1,2) 2.048 3.072 mhz r i2s_scl i 2 s serial clock input ratio 0.9 1.1 i 2 s output (i 2 s_data0 only) v i2sol output i 2 s low level voltage iol = 2 ma 0.4 v v i2soh output i 2 s high level voltage ioh = 2 ma 2.4 v f i2s_olr i 2 s left right strobe output frequency deviation =+-250ppm 8 48 khz t buf t low t high t hd,sta t r t f t su,sta t hd,dat t su,dat t su,sto sda scl sda
139/149 stv82x7 electrical characteristics f i2s_oscl i 2 s serial clock output frequency 0.512 3.072 mhz r i2s_scl i 2 s serial clock output ratio 0.9 1.1 t i2 s_de l i 2 s output delay after falling edge of clock see figure 29 , cl=30pf 30 ns figure 29: i2s input bus timing symbol parameter test conditions min. typ max. unit i 2 s_sclk i 2 s_data t i2s_su t i2s_ho t i2s_su i 2 s_lr_clk
input/output groups stv82x7 140/149 14 input/output groups pin numbers apply to sdip package only. vcc18_if 50k gnd_psub sif_p73 50k 50k vcc18_if vcc_h gnd_psub sc1_outl 1 2 5 6 18 19 sc1_outr sc2_outl sc2_outr sc3_outl sc3_outr vcc33_ls gnd_psub ls_c ls_l ls_r scr_flt ls_sub 25 ls_l hp_lss_l hp_lss_r 26 27 28 29 30 31 32 150 vcc33_ls gnd 33_ls 78 mono_in 30k vrefa vcc18_if gndif 74 sif_n vcc18_if ref vcc_h gnd_psub 9 sc1_in_l 22k5 7k5 vrefa 10 14 15 23 24 79 80 sc1_in_r sc2_in_l sc2_in_r sc3_in_l sc3_in_r sc4_in_l sc4_in_r
141/149 stv82x7 input/output groups vcc33_ls 5k4 gnd33_ls 16k8 11 vrefa vb g (1.2v) vcc33_ls gnd33_ls 13 vb g 10k band-gap=1.2v vss 35 hp_det 36 43 adr_sel rst_n vdd33_i01 clk_tst_ctrl 48 vss 45 s/pdif_out vdd33_i01 vdd33_i01 vss bus_exd vdd33_i02 vdd33_i02 irq 68 69 vss 44 s/pdif_in vdd33_i01
input/output groups stv82x7 142/149 vss 60 i2s_pcm_clk 61 62 i2s_lr_clk i2s_data0 vdd33_i02 i2s_data1 63 64 i2s_data2 vss 51 clk_sel vdd18 vss 35 scl 40 sda 53 xtalout_clkxtm 52 xtalin_clkxtp vcc18_clk1 500k gnd18_clk1 vcc18_clk1 gnd18_clk1
143/149 stv82x7 input/output groups vdd33_i02 vcc18_clk1 vdd33_i01 gnd_psub gnd18_clk2 gnd18_clk1 vss 21 59 46 54 56 55 37 57 vcc18_clk2 vdd18 38 42 50 66 41 47 49 58 67 70
input/output groups stv82x7 144/149 vdd18_conv 34 vdd33_conv 22 vcc_niso 20 vcc33_ls 16 vcc33_sc 7 vcc_h 3 vdd18_adc 71 vcc18_if 76 gnd18_if 77 gndpw_if 75 vss18_adc 72 gnd_psub 70 gnd33_ls 17 gnd_h 4 gnd33_sc 8 gnd_sa 12 vss18_conv 33 21
145/149 stv82x7 package mechanical data 15 package mechanical data figure 30: 80-pin thin plastic quad flat package table 31: package mechanical dimensions dim. mm inches min. typ. max. min. typ. max. a 1.60 0.063 a1 0.05 0.15 0.002 0.006 a2 1.35 1.40 1.45 0.053 0.055 0.057 b 0.22 0.32 0.38 0.009 0.013 0.015 c 0.09 0.20 0.004 0.008 d 16.00 0.630 d1 14.00 0.551 e 16.00 0.630 e1 14.00 0.551 e 0.65 0.026 k 0 3.5 0.75 0 3.5 0.75 l 0.45 0.60 0.75 0.018 0.024 0.030 l1 1.00 0.039 a a2 a1 b e h c l l1 e e1 d1 d
revision history stv82x7 146/149 16 revision history revision date modification 1.96 april 2004 preliminary datasheet - first issue. 1.97 april 2004 updates to chapter 13: electrical characteristics on page 132 . 1.98 april 2004 added figure 8: stv82x6/stv82x7 compatible application electrical diagram on page 18 . added section 11.2: start-up and configuration change procedure on page 47 . update of table 21: demod matrix on page 94 . changes to function descriptions in section 12.18: volume on page 116 . other minor corrections. 1.99 june 2004 updates to table 3: tqfp80 pin description on page 14 , section 13.5: analog sound if signal on page 133 , section 13.9: i2s to ls/hp/su b/c path characteristics on page 135 , section 13.10: i2s to scart path characteristics on page 136 and section 13.12: digital i/os characteristics on page 136 . 2.0 june 2004 updates to table 7: reset default values on page 45 , table 12: audio processing for loudspeakers, headphone, scart and s/pdif outputs on page 27 , table 19: volume control on page 36 , table 27: flow chart on page 47 and section 12.1: i2c register map on page 49 . added register : spdif_channel_status . other minor corrctions and modifications. 2.01 july 2004 added logos to page 1 . added notes to figure 3 , figure 4 and figure 5 . removed ?pro logic off switch? from ta bl e 1 2 , ta bl e 1 3 , ta bl e 1 4 and ta b l e 1 6 . other minor modifications and cosmetic changes. 2.02 july 2004 added st voice logo to page 1 . modification to st omnisurround version in ta b l e 1 . modifications to text in section 4.1: back-end processing on page 24 . other minor modifications and cosmetic changes. 2.03 january 2005 update of bits i2s_out_sel ect[1:0] of adc_ct rl register (56h). 3 february 2005 modified stsrnd-stereo on page 52 (remo ved shading), adc-ctrl register i2s0_data0_ctrl field modification on page 74 and off added in pl2_c_width and pl2_dimension on page 102.
147/149 stv82x7 index a analog-to-digital conversion ............................. 21 audio matrix analog .......................................................... 39 automatic frequency control ............................ 23 automatic gain control ...................................... 21 automatic overmodulation detection ................ 22 automatic standard recognition system .... 22, 49 b back-end processing ......................................... 24 bass-treble control ........................................... 35 beeper ............................................................... 37 c clock generator ................................................ 20 d demodulation .................................................... 22 dolby pro logic ii decoder .................................... 28 e electrical characteristics ................................. 132 absolute maximum ratings ....................... 132 analog sound if signal ............................. 133 crystal oscillator ........................................ 133 digital i/os ................................................. 136 i2c bus ....................................................... 137 i2s to ls/hp/sw path ............................... 135 i2s to scart path .................................... 136 mute performance ................................... 136 scart to ls/hp/sw path ........................ 135 scart to scart analog path ................. 134 sif to ls/hp/scart path ........................ 134 supply data ............................................... 132 thermal data ............................................. 132 equalizer 5-band audio ............................................... 35 i i2c address ........................................................ 46 i2c protocol ........................................................ 46 i2s interface ....................................................... 40 i2c ................................................................... 138 i2c address ....................................................... 46 l loudness control automatic ..................................................... 36 p package mechanical data ............................... 145 peak detector .................................................... 22 power supply management ............................... 43 r registers 5-band equalizer / bass-treble ......... 110, 112 analog control ............................................. 74 audio preprocessing and selection ............. 85 audio processing ......................................... 98 automatic standard recognition ................. 81 autostandard coefficients settings ........... 130 beeper ....................................................... 126 clocking 1 .................................................... 56 clocking 2 .................................................... 76 dac control ............................................... 129 demodulator ................................................ 59 demodulator channel 1 ............................... 62 demodulator channel 2 ............................... 66 dsp control ................................................. 77 general control ........................................... 55 headphone bass-treble ............................ 113 headphone configuration .......................... 128 i2c map ........................................................ 49 matrixing ...................................................... 93 mute ........................................................... 127 nicam ......................................................... 71 stereo mode ................................................ 73 volume ....................................................... 116
stv82x7 148/149 s sif signal analog .......................................................... 21 signal processor dedicated digital .......................................... 24 signal to noise ................................................ 134 smart volume control ....................................... 34 soft mute control ............................................... 37 software information ........................................... 9 srs trubass ....................................................... 34 trusurround ................................................. 33 wow ........................................................... 33 srs? trusurround xt? ....................................... 33 st dynamic bass .............................................. 35 st omnisurround .............................................. 28 st widesurround .............................................. 28 t total harmonic distortion ................................ 134 v volume/balance control .................................... 36
149/149 stv82x7 information furnished is believed to be accurate and reliable. however, stmicroelectronics assumes no responsibility for the consequences of use of such info rmation nor for any infringement of patents or other rights of third parties which may result from its use. no license is granted by implication or otherwise under any patent or patent rights of stmicroelectronics. specifications mentioned in this publicat ion are subject to change without notice. this publication supersedes and replaces all information previously supplied. st microelectronics products are not authorized for use as critical components in life support devices or systems wi thout express written approv al of stmicroelectronics. the st logo is a registered trademark of stmicroelectronics all other names are the property of their respective owners ? 2005 stmicroelectronics - all rights reserved stmicroelectronics group of companies australia - belgium - brazil - canada - china - czech republic - finland - france - germany - hong kong - india - israel - ital y - japan - malaysia - malta - morocco - singapore - spai n - sweden - switzerland - united kingdom - united states www.st.com


▲Up To Search▲   

 
Price & Availability of STV8287

All Rights Reserved © IC-ON-LINE 2003 - 2022  

[Add Bookmark] [Contact Us] [Link exchange] [Privacy policy]
Mirror Sites :  [www.datasheet.hk]   [www.maxim4u.com]  [www.ic-on-line.cn] [www.ic-on-line.com] [www.ic-on-line.net] [www.alldatasheet.com.cn] [www.gdcy.com]  [www.gdcy.net]


 . . . . .
  We use cookies to deliver the best possible web experience and assist with our advertising efforts. By continuing to use this site, you consent to the use of cookies. For more information on cookies, please take a look at our Privacy Policy. X